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

Aahz aahz at
Sat Feb 8 16:55:31 CET 2003

In article <yu99of5maikk.fsf at>,
Andrew Koenig  <ark at> wrote:
>Aahz> Right.  In general, Python has focused on mechanisms for reducing
>Aahz> stylistic diversity, because that makes programs easier to read.
>But Python has lots of features that increase stylistic diversity,
>such as the ability to define functions in or out of classes, compound
>assignment operators, operator overloading, list comprehensions,
>lambda expressions, and so on.

Actually, I think of functions also being methods and operator
overloading as *decreasing* Python's stylistic diversity in many ways.
They simplify the language and increase regularity.
Aahz (aahz at           <*>

Register for PyCon now!

More information about the Python-list mailing list