News for hackers. Stuff that matters.
Re:Avoid Else, Return Early (2013) by imron on Monday March 26, 2018 @09:45AM (#16678796)
> your future self will hate you if you skimp on comments.

Likewise, your future self will hate you when comments fall out of sync with the code.

If the code is readable you don't need much in the way of comments.

Re:Avoid Else, Return Early (2013) by ModernMech on Monday March 26, 2018 @12:36PM (#16680153)
Code explains what the program does. Comments explain why a program does what it does. Code and comments are orthogonal, not coincident.