The worth of comments

Irmen de Jong irmen at -NOSPAM-xs4all.nl
Fri May 27 13:05:02 EDT 2011


On 27-05-11 15:54, Grant Edwards wrote:
> On 2011-05-27, Ben Finney<ben+python at benfinney.id.au>  wrote:
>> Richard Parker<r.richardparker at comcast.net>  writes:
>>
>>> On May 26, 2011, at 4:28 AM, python-list-request at python.org wrote:
>>>
>>>> My experience is that comments in Python are of relatively low
>>>> usefulness. (For avoidance of doubt: not *zero* usefulness, merely
>>>> low.)
>
> I've seen plenty of comments who's usefulness was not zero.  It was
> less than zero.

Someone once taught me, "There is one thing worse than having no 
comments in the source code:  having incorrect (or 'lying') comments in 
the code."

Grant, I guess you hint at such comments?

Irmen.



More information about the Python-list mailing list