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/2001-October/017970.html below:

[Python-Dev] conditional expressions?

[Python-Dev] conditional expressions? [Python-Dev] conditional expressions?Guido van Rossum guido@python.org
Tue, 16 Oct 2001 09:24:40 -0400
Even after reading Daniel's passionate plea, if(cond,expr,expr) looks
ugly to me.  It also doesn't solve the parsing ambiguity problem -- it
still can't be allowed in an expression that starts a line because the
parser doesn't know whether it's an if expression or an if statement
without many tokens of lookahead.

So, -1 for if(cond,expr,expr).

--Guido van Rossum (home page: http://www.python.org/~guido/)



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