Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is all anecdotal but learning to program is (IMO) somewhat like math in that it is virtually impossible to learn it while not feeling confused and lost because there's a lot you have to internalize (and often this includes multiple concepts sort of all at once) before everything clicks and makes sense.

Talent is a thing, surely, but IMO the primary "talent" when it comes to learning to code is having the mindset where being lost isn't a problem for you. Some people hate this feeling of not intuitively knowing what is going on (possibly for an extended period of time!) while others embrace it, the latter tend to be the ones who end up excelling at programming (and/or math).

"Most of the code I wrote even before finding a need is solid, efficient, and secure. But that's because I'm so bad at it that I have to be careful. If I don't write clean, efficient code, I won't be able to understand it well enough to fix it when something goes wrong."

If your code is good it is because you are a good programmer. Full stop. Not being able to understand and fix your own code if you aren't writing it cleanly (and as simply as possible while doing the job) is universal.

"Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?" - Brian Kernighan



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: