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

[Python-Dev] conditional expressions?

[Python-Dev] conditional expressions? [Python-Dev] conditional expressions?Paul Svensson paul-python@svensson.org
Mon, 15 Oct 2001 16:39:30 -0400 (EDT)
On Mon, 15 Oct 2001, Guido van Rossum wrote:

>Sorry, I still don't get this at all.  A conditional expression is
>still an expression.  Curly brances are a statement-level concept.
>What am I missing?  Where is the similarity between the use of { } and
>( ) in C/Java/C++/Perl?

Trying to put a finger on why I think this proposed new syntax looks ugly,
I would say that my biggest problem is that it blurs some of the visual
distictions between statements and expressions that I find helpful
for quickly locating the interesting parts of a piece of code.

I assume this has some parallel to list comprehensions that way,
but I fail to see the same blatant conceptual beauty in this proposal,
motivating the unfamiliar form.

	/Paul




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