Very Horrible Question About Goto's

Brian E Gallew geek+ at cmu.edu
Wed Apr 19 22:45:27 CEST 2000


> Delivered-To: python-list at python.org
On Wed, Apr 19, 2000 at 11:17:21AM -0400, Gaetan Corneau wrote:
> I was surprised to learn that Python doesn't have a goto statement.

I've found that if you really want goto functionality, use
exceptions.  Either that, or figure out what the code is doing, and
then write it correctly.  YMMV.

-- 
=====================================================================
| JAVA must have been developed in the wilds of West Virginia.      |
| After all, why else would it support only single inheritance??    |
=====================================================================
| Finger geek at cmu.edu for my public key.                            |
=====================================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 266 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20000419/ae1fcd7d/attachment.sig>


More information about the Python-list mailing list