"Elliot Temple" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hi I have two questions.

...


> Also, why aren't there
> multiline comments?  Would adding them cause a problem of some sort?

As a matter of fact, yes. First, consider that as soon as you have
multi-line comments, someone is going to request nested multi-line
comments. (In other words, the compiler should check that the
embedded  comment is still correct.) That rapidly leads to madness.

Second, multi-line comments aren't really necessary; as someone
in the thread  commented, a decent editor or IDE will allow adding
or removing comments from a block of code easily. Python's
philosophy is to only add features when there is a use case that
will improve the language significantly, and commenting out a block
of code for testing isn't it. (It's also not the world's best practice,
but that's another subject.)

John Roth




>
> Thanks,
> Elliot
> 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to