Goto Considered Harmful [was Re: Python and the need for speed]

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Apr 14 03:17:04 EDT 2017


Ian Kelly wrote:
> Yikes. I never took the time to learn COBOL, but that almost sounds
> like something that you'd find in an esoteric language like INTERCAL.

COBOL has other fun stuff like that, too. For example, the
destination of a GOTO statement can be changed from elsewhere
in the program:

https://www.ibm.com/support/knowledgecenter/SSAE4W_7.1.0/com.ibm.etools.iseries.langref.doc/c0925395347.htm

Not quite COMEFROM, but it's getting close!

-- 
Greg



More information about the Python-list mailing list