PEP308: Yet another syntax proposal

Aahz aahz at pythoncraft.com
Wed Feb 12 11:00:30 EST 2003


In article <7xbs1i1107.fsf at ruckus.brouhaha.com>,
Paul Rubin  <http://phr.cx@NOSPAM.invalid> wrote:
>aahz at pythoncraft.com (Aahz) writes:
>> 
>> That, in a nutshell, is what this argument is about.  The problem
>> is, there's a natural tension for expert programmers to want to
>> express themselves easily and tersely, ...  Python has so far done
>> an excellent job of maintaining a balance between all the different
>> tensions; those who are unutterably opposed to any form of
>> conditional expression fall completely into your camp.
>
>I don't see it that way.  I see a camp that wants a clear, definite,
>explicit way to express a conditional expression, and a camp that
>prefers "Secret Master Pythonista" bizarre idioms like "x and y or z,
>with rework required if it turns out that y can be None or 0 or the
>empty list".  From my view, conditional expressions are in the
>simplicity camp and "x and y or z" is from the Secret Master Pythonista
> camp.

You're failing to consider the existence of the camp that thinks that 
"x and y or z" isn't particularly Pythonic and has no interest
whatsoever in making similar expressions any easier or more common.
-- 
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