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/2005-July/054701.html below:

[Python-Dev] Chaining try statements: eltry?

[Python-Dev] Chaining try statements: eltry? [Python-Dev] Chaining try statements: eltry?Guido van Rossum gvanrossum at gmail.com
Thu Jul 7 19:48:39 CEST 2005
On 7/7/05, François Pinard <pinard at iro.umontreal.ca> wrote:
> [Guido van Rossum]
> 
> > I even wonder if else-clauses on for/while were a good idea.
> 
> I surely find them useful, and see them as a Python originality (a
> welcome one).

They are indeed an original invention. (One day I looked at the
similarity between if and while and noticed that there was a use case
for else after while too.)

The question remains whether Python would be easier to learn without
them. And if so, the question would remain whether that's offset by
their utility for experienced developers. All hard to assess
impartially!

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

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