Recent

Author Topic: Eliminating Goto/Label  (Read 1904 times)

process_1

  • Guest
Re: Eliminating Goto/Label
« Reply #30 on: July 19, 2020, 05:23:38 pm »
They're also taught that C++ and Javascript are a good idea. And they used to be taught that APL was a good idea, with absolutely no consideration of the runtime resources required. And Lisp, Prolog and Smalltalk with no security in their runtime storage. I can play this game for hours... :-)

Tell me more about... ;) Well, I practically lived in pioneers days...

Quote
I'd argue that a pragmatic approach is to be preferred.

That is truth. But anyway, using LABEL and GOTO with procedural languages?!

MarkMLl

  • Hero Member
  • *****
  • Posts: 1319
Re: Eliminating Goto/Label
« Reply #31 on: July 19, 2020, 05:31:01 pm »
That is truth. But anyway, using LABEL and GOTO with procedural languages?!

I can assure you that in my academic days I marked plenty of students down for it.

Incidentally, I'd suggest not looking at any of Wirth's early code unless you like jump tables in your ALGOL :-)

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

 

TinyPortal © 2005-2018