Recent

Author Topic: Eliminating Goto/Label  (Read 5400 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: 6676
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018