12-14-2007, 01:42 AM
|
#6 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
Very nice article. In addition to sketch's reply, I recently read an interesting alternative to commenting (a trait of eXtremeProgramming, I think), whenever you need to add a comment to a block of code, add that block of code to a new function and name the function something that explains the code (like the comment would have).
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|