HNHacker News
TopNewBestAskShowJobs

anyzen

164 karma · joined March 26, 2018

submissionscomments
anyzen··on Avoid Else, Return Early (2013)
> Same way comments are extra weight that should only be in public or algorithm/need to know areas.

This! Comments should convey programmer's intention and explain the thought process, not the code itself. Also, too many comments usually indicate that code should be refactored.

← PreviousPage 3 of 3