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

Andrew Bennetts andrew-pythonlist at puzzling.org
Fri Feb 7 22:40:51 EST 2003


On Fri, Feb 07, 2003 at 12:14:40PM -0500, Guido van Rossum wrote:
[..snip..]
>     The proposed syntax is as follows:
> 
>         <expression1> if <condition> else <expression2>

-1.

It's inside out and it's unnecessary.  I dislike complicated expressions,
and this will only encourage them.  Not to mention it just doesn't "feel"
right :)

-Andrew.






More information about the Python-list mailing list