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

[Python-Dev] switch-based programming in Python

[Python-Dev] switch-based programming in Python [Python-Dev] switch-based programming in PythonBarry Scott barry.alan.scott@ntlworld.com
Fri, 9 Nov 2001 23:37:49 -0000
switch with fall through is basically a goto in thin disguise.

		BArry

-----Original Message-----
From: M.-A. Lemburg [mailto:mal@lemburg.com]
Sent: 09 November 2001 08:13
To: barry.alan.scott@ntlworld.com
Cc: python-dev@python.org
Subject: Re: [Python-Dev] switch-based programming in Python


Barry Scott wrote:
> 
> The fall through is the source of too many defects in C/C++ code.
> And its rarely used in the wild according to report on this subject
> a few years ago.

Ok, let's drop the fallthrough (it's not good structured
programming practice anyway, even though it can help in C).
 
> Goto in python would be a terrible thing.

Sure would ;-) But where did you find a mention of "goto" ? 

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Consulting & Company:                           http://www.egenix.com/
Python Software:                        http://www.lemburg.com/python/






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