PEP scepticism

Delaney, Timothy tdelaney at avaya.com
Mon Jul 2 20:31:10 EDT 2001


> I'd also consider whether /# and #/ are better markers - more directly
> related to the existing #.

Ooh - I like it. Then the following nice idiom becomes useful ...

/#
 #	This is a comment
 #/

On second thought, having typed it, I don't like it. The *really* nice thing
about /* */ is that the two characters are ajacent on the numeric keypad on
every keyboard I have used, and so it takes zero thought to produce them.

Also, what if you have code with #/ in it somewhere. You could end up with
an end-comment marker you didn't want. Unlikely, but dangerous.

Looks nice though.

Tim Delaney




More information about the Python-list mailing list