pep 308: why doing (almost) nothing suffices

Erik Max Francis max at alcyone.com
Sun Mar 9 22:11:08 EST 2003


"Edward K. Ream" wrote:

> Thanks for pointing this out.  However, this does not change the fact
> that
> Python already provides more than enough tools for this job.

Of course it does.  No one has ever disputed that, as it's painfully
obvious.  You can reformulate every conditional operator into a
statement or a more convoluted expression (the and/or tricks with
single-element lists or lambdas).

The question is whether or not a conditional operator is warranted on
its own merits, not whether its presence is required to have a
Turing-complete language.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Age ain't nothing but a number
\__/ Aaliyah
    CSBuddy / http://www.alcyone.com/pyos/csbuddy/
 A Counter-Strike server log file monitor in Python.




More information about the Python-list mailing list