Ask HN: How do you get better at coding?
21–30 of 73 posts
Re: Ask HN: How do you get better at coding?
#222. Rewriting, rewriting, rewriting
3. Trying new languages for fun (I ported a LAMP website to Node to learn about node+express)
Re: Ask HN: How do you get better at coding?
#23Re: Ask HN: How do you get better at coding?
#24Spread your knowledge around, read on oop, read on functional programming, learn what google and Facebook do in a situation, learn to get good enough to criticize with confidence. If you can't criticize a situation with confidence then learn more about it.
Re: Ask HN: How do you get better at coding?
#25I get better at coding by coding. No, really. You can read all the books, blog posts, open source code samples you want, but nothing will substitute writing code. I maintain a handful of side projects as well as write code daily for my job. Plus, I love it. Also, my side projects usually encompass something I have no idea how to do, which quickly elevates my skill level. I love learning, so it works for me.
Code reviews help a lot with that. At my current company we don't review so I've found myself getting complacent
Re: Ask HN: How do you get better at coding?
#26I'll add one extra on top of that: it's important to practice on real, complete, non-trivial programs that actually do something. Ideally it'll be a large project because that will give you practice in working with other people, API design, refactoring, testing, debugging, and reverse-engineering.
Re: Ask HN: How do you get better at coding?
#27Re: Ask HN: How do you get better at coding?
#28Re: Ask HN: How do you get better at coding?
#29Tinker a lot and don't be afraid to make your own mistakes (and learn from them once you've recognized them).
Re: Ask HN: How do you get better at coding?
#30On #2, for example, if you are working on a todo list backend in python, try to find existing solutions for todo list backend in python. Then you can see what others using in their solutions and try to bring them into yours.
I understand, this approach is not applicable for everything but I have found lots of gems this way.