Skip to content

Comment on Useful GitHub patternsparent

Comments

A good thing to think when you start adding documentation to the code is "Am I really writing readable and understandable code right now?". If you answer isn't yes without any hesitation, you usually need to refactor so other people can read your code instead of you needing to comment what you do.

True, but sometimes there isn't a choice, e.g., working with a clowntown library, poorly designed legacy code, etc.

AboutSource Built by g1lg1l

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