PEP 308: Alternative conditional operator forms -- Corner Case solved

Dave Brueck dave at pythonapocrypha.com
Wed Feb 12 12:27:47 EST 2003


On Wed, 12 Feb 2003, Michele Simionato wrote:

> I must say that even if initially I said "if C: x else: y" is ugly but
> better than nothing, in the last few days the arguments of Samuele and
> others finally convinced me that "nothing" is better than such a
> confusion between expressions and statement. It seems to me absolutely
> contrary to the Python design philosophy.

Just bear in mind that "do nothing" also means "stay with the current
idiom that in some cases doesn't work" (yeah, you can hear my bias in that
statement ;-) ).

-Dave





More information about the Python-list mailing list