why no block comments in Python?

John Salerno johnjsal at NOSPAMgmail.com
Wed Mar 8 14:00:44 EST 2006


Warby wrote:

> The danger with block comments is that there is no way to tell that the
> code you're looking at has been commented out unless you can see the
> start or end of the comment block.  If you have a modern editor, it
> probably changes the color of all commented out code to eliminate
> confusion.  But if you have a primitive editor it does not. 

That makes sense. If you have a modern editor, you don't need blocks. If 
you don't have one, blocks don't help.  :)



More information about the Python-list mailing list