Skip to content

Comment on Ask HN: What habits made you a better programmer?

Comments

Participating in programming competitions like IOI, ACM, Topcoder, GCJ, etc

How does that help? To me they seem like interesting puzzles, but with little relevance to problems in practical projects.

Those improves your coding ability a lot. For example, If your application needs to scale well, you should always consider implementing efficient algorithms. Yes, you can use some open source libraries, tools, etc but someone has to write those using efficient algorithms. This is one of the main reasons, that companies like Facebook, Google are recruiting people using these "puzzles" or contests like Topcoder, Google Codejam.

I think these kinds of problems make you comfortable with algorithmic thinking, it may not always be necessary to implement algorithm X or whatever in your day to day code but being comfortable with algorithms (by practicing) means you don't push off or miss the correct times to implement algorithm X.

this article on when to use algorithms is great: http://www.bluebytesoftware.com/blog/PermaLink,guid,4db70333...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.