3 ms·
> 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
by imron 9y ago
> 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.
- ModernMech 9y agoCode explains what the program does. Comments explain why a program does what it does. Code and comments are orthogonal, not coincident.