Reply to post: Pascal/Delphi really, really, discouraged it

30-up: You know what? Those really weren't the days

LDS Silver badge

Pascal/Delphi really, really, discouraged it

With exception handling, exit/continue/break instruction (which are controlled forms of goto, I agree) and nested functions the need of explicit goto instructions becomes zero, but for very, very uncommon code. TurboPascal first, and then Delphi, became far more powerful than Standard Pascal.

I never had a particular stance against goto, after all when programming in assembler you can't do without unconditional jumps. Anyway each language has its own philosophy, and usually trying to program in one as if it was another won't bring you far, and will end in ugly code.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019