View Single Post
Old Jun 3rd, 2006, 7:48 PM   #33
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote