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/033345.html below:

some data on the debate [Python-Dev] Update to PEP308: if-then-else expression

some data on the debate [Python-Dev] Update to PEP308: if-then-else expression some data on the debate [Python-Dev] Update to PEP308: if-then-else expressionRaymond Hettinger python@rcn.com
Tue, 11 Feb 2003 15:33:07 -0500
[Aahz]
> That would be difficult, given that there are now two leading
> contenders (if <cond>: x else: y vs. <cond> ?? x || y).  Given that both
> have only emerged in the last day or so, there's been no time to
> evaluate which is ahead.  

Hmm, one looks like Smalltalk and the other like Perl ;)

Though both are clear and get the job done, the first bugs 
me for three reasons:

* you have to look twice to see that you're dealing
   with a statement rather than an expression

* when looking at an expression, my mind is trained
   to see alpha characters as a variable or function name

* the enclosing parenthesis requirement feels wrong


> I propose to let the discussion simmer another
> week or so before voting.

Excellent plan.



Raymond Hettinger



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