Working around a lack of 'goto' in python

Christopher A. Craig list-python at ccraig.org
Mon Mar 8 14:54:11 EST 2004


jarrodhroberson at yahoo.com (Y2KYZFR1) writes:

> There is absolutely NO LEGITIMATE REASON to use GOTO in any modern
> language, ESPECIALLY Python, EVER!
> 
> No stay away from computers until you understand how and why this
> is.

If everyone took your advice, you would have no Python.  CPython (the
reference Python implementation) has over 200 gotos in its source.

-- 
Christopher A. Craig <list-python at ccraig.org>
"[Windows NT is] not about 'Where do you want to go today?'; it's more like
'Where am I allowed to go today?'" -- Mike Mitchell, NT Systems Administrator





More information about the Python-list mailing list