One crucial skill in programming is knowing how to get answers to small, well defined questions.
When I started writing code I'd sometimes get completely stuck with syntax. These days I'd hop on IRC or Stack Overflow.
When I've been a mentor, I try to show where I get answers.
Related Posts
Co-Authored-By: An old Stack Overflow answer, blindly accepting the compiler's suggestions, and a linter.
Designing UIs is such a hard problem.
Sometimes I try a bunch of options and I settle on "this one seems the least annoying".
It's really satisfying to use a profiler for the first time on a project. I always find a big performance win with only a small code change.
It's never the code that I expected to be slow, however!