A perfect program needs no comments at all.I disagree on this. Readability should be one of the main target of a perfect program, and comments are an important part of it. Good comments let you better understand the main blocks, the purpose of the different functions (even "private" methods, whose commenting is useful to let someone hack on it) and basically leave the possibility to modify the code. To add new features, of course, because it's perfect.
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
In reply to Re^2: The art of comments: (rave from the grave)
by polettix
in thread The art of comments: (rave from the grave)
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |