useless comments (was Re: ActiveState going the wrong way)

Dan Smart cppdan at dansmart.com
Wed Apr 11 18:59:49 EDT 2001


"Alex Martelli" <aleaxit at yahoo.com> wrote in 
<9b1amo01qq2 at news2.newsguy.com>:

>"Maniac" <Maniac at alltel.net> wrote in message
>news:45m0b9.fem.ln at alltel.net...
>    [snip]
>> I have yet to find a "useless" comment. Any documentation in source code
>
>Have you TRULY never seen such beauties as
>
>    x++;    // increment x by one
>
Of course the real problem with useless comments:
    	x--;    	// Add one to x

Read it quickly and tell me what the code does.

Dan "Bitten by this one" Smart

-- 
Dan Smart. C++ Programming and Mentoring.
cppdan at dansmart.com



More information about the Python-list mailing list