For review: PEP 308 - If-then-else expression

Erik Max Francis max at alcyone.com
Sat Feb 8 00:19:38 EST 2003


Andrew Koenig wrote:

> Exactly the same argument applies to lambda expressions and list
> comprehensions.

And practically every language feature that's been added since the
earliest version.  Most languages can be boiled down to a tiny subset of
their basic control structures that are exactly as expressive (in the
Turing-complete sort of meaning) as the original, but that hardly means
that the extra syntaxes (such as the for control structure in Python;
you can write than in terms of a while) are mere syntactical sugar.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ The doors of Heaven and Hell are adjacent and identical.
\__/ Nikos Kazantzakis
    Bosskey.net: Return to Wolfenstein / http://www.bosskey.net/rtcw/
 A personal guide to Return to Castle Wolfenstein.




More information about the Python-list mailing list