in reply to Re: The art of comments: (rave from the grave)
in thread The art of comments: (rave from the grave)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The art of comments: (rave from the grave)
by tlm (Prior) on Jul 08, 2005 at 00:32 UTC | |
by polettix (Vicar) on Jul 08, 2005 at 00:39 UTC |