A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-February/033106.html below:

[Python-Dev] Re: Trinary Operators

[Python-Dev] Re: Trinary Operators [Python-Dev] Re: Trinary OperatorsGerald S. Williams gsw@agere.com
Thu, 6 Feb 2003 14:44:47 -0500
Guido van Rossum wrote:
> > Guido>     x = (y if y>z else z)
> Maybe I should write a PEP and let the folks in c.l.py vote on it,
> just for fun.  (I expect to get about as many yes votes as no votes. :-)

As long as you wait until April 1 (that's an odd day).

I'm an even-day fan of trinary operators myself, but
this opens too many questions. For example, with
regard to short-circuiting, it will be inconsistent
with other expressions at some level in either form
or function.

-Jerry




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4