The worth of comments
Grant Edwards
invalid at invalid.invalid
Sun May 29 10:43:57 EDT 2011
On 2011-05-29, Gregory Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Ben Finney wrote:
>
>> You omit the common third possibility: *both* the comment and the code
>> are wrong.
>
> In that case, the correct response is to fix both of them. :-)
Only as a last resort. IMO, the best option is to fix the code so it's
purpose and operation is obvious from the code, and then delete the
comment.
--
Grant
More information about the Python-list
mailing list