Quote:
|
I think commenting helps you write better code which ironically mitigates the need for comments.
|
If commenting helps you write better code, then you didn't design your code first, which you should. Whether or not better code mitigates the need for comments is strictly circumstantial. Someone could write you some absolutely beautiful, efficient, and functional code. If you didn't know what was going on (encryption or nuclear physics, anyone?) you couldn't decipher it without an explanation.