Comments

Sean 'Shaleh' Perry shalehperry at attbi.com
Wed May 8 18:39:31 EDT 2002


On 08-May-2002 Alex Martelli wrote:
> Sean 'Shaleh' Perry wrote:
>         ...
>> thanks for clearing that up Tim.  Not sure I like the idea of random
>> strings being used for comments, but at least they are reasonably cheap.
> 
> Totally random strings would make very unlikeable comments -- how
> can you be unsure about it?  Just imagine the mishmash of letters,
> digits, punctuation -- suitable for a Perl script perhaps, but surely not
> for a Python comment.
> 

You say many interesting things in the rest of this.  However perhaps my intent
was not clear.

When I see:

# hi, you should never set the next line to 1
value = 0

versus:
"""hi, you should never set the next line to 1
value = 0

I prefer the obvious comment versus the string.

<snip>


BTW 'pastiche' means what?





More information about the Python-list mailing list