GoTo considered missing
Harvey Frey
hsfrey at earthlink.net
Tue Jul 2 20:53:35 EDT 2002
OK. I'm a spaghetti-coder from way back, new to Python.
I didn't even realize there was no "goto" till I tried to rewrite a big C
program in Python.
Breaks and Continues are fine for single loops, but:
What is the approved Python method for getting from the bottom of a set of
nested loops to the top?
Maybe I could rewrite the big loop with function calls, but I'd be
knee-deep in recursion.
Harvey
=========================
Harvey S. Frey MD PhD Esq.
hsfrey at harp.org www.harp.org
C'est Vrai. C'est Frey!
=========================
More information about the Python-list
mailing list