Python grammar..

Alex Martelli aleaxit at yahoo.com
Wed Jun 13 04:03:08 EDT 2001


"Delaney, Timothy" <tdelaney at avaya.com> wrote in message
news:mailman.992393599.3573.python-list at python.org...
    ...
> way to do it - a subroutine may or may not return a value, at its
> discretion, and I should be able to ignore any returned value.

Yes, but if I were designing a language today, I think I would
request you to be EXPLICIT about "ignoring the return value" --
explicit is better than implicit.  It IS an occasional cause of
errors in Python (particularly with newbies) that an expression
statement's value is silently and implicitly ignored...


Alex






More information about the Python-list mailing list