HN user

ptzolov

15 karma
Posts5
Comments5
View on HN

Golf is like rowing, like knitting, like learning a new language. If you start without instruction, you'll build bad habits that stay with you forever. You can row as hard as you want, but without proper technique, you’ll never get faster. Golf is the same. Effort doesn’t equal improvement unless it's guided. If you start with fundamentals and practice them intentionally, you will get good. But if you repeat the same shitty swing for 10 years with no feedback, you’ll end up exactly where you started.

I think reading code is a very good practice, and the more you read the easier "step 2" (the understanding bit anyways) becomes. That being said, I don't think reading through huge blocks of comments so that you can understand a function is useful. Forcing yourself to write self-explanatory code with a short docstring is a lot more useful than some hacky code with a huge comment explaining what it does.