Python and the need for speed

Rustom Mody rustompmody at gmail.com
Tue Apr 11 22:20:07 EDT 2017


On Wednesday, April 12, 2017 at 3:32:57 AM UTC+5:30, Rick Johnson wrote:
> On Monday, April 10, 2017 at 7:25:48 AM UTC-5, Mikhail V wrote:
> > Still I miss some old school features in Python, e.g.
> > "goto" statement would be very useful in some cases. 
> 
> Are you serious?
> 
> > I know it is considered bad style to use goto, but in some
> > cases it is just most natural thing to use.
> 
> "Natural"? If you're programming from inside a spaghetti
> bowl, i suppose.

Try coding up an automaton (synonyms DFA, FSM) by hand
With
state = goto-label [And the stuff 'under' it]
transition = goto-statement
is a mapping that is hard to beat


More information about the Python-list mailing list