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

Aahz aahz at pythoncraft.com
Sat Feb 8 10:55:31 EST 2003


In article <yu99of5maikk.fsf at europa.research.att.com>,
Andrew Koenig  <ark at research.att.com> 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 pythoncraft.com)           <*>         http://www.pythoncraft.com/

Register for PyCon now!  http://www.python.org/pycon/reg.html




More information about the Python-list mailing list