[fpc-pascal] The reason why linus torvalds hate-pascal

Marco van de Voort marcov at stack.nl
Tue Apr 15 13:43:38 CEST 2008


> Marco van de Voort wrote:
> >> Ah....the old goto arguing....how many beers have gone with it!
> >> Linus is just right, since everyday the purists of the OO languages
> >> still can't live without writing a GOTO; they just call it in another
> >> "politically correct" way:
> >>
> >>     raise Exception.Create("TA-DA!")
> > 
> > There is a fundamental difference. You don't know where exactly this will
> > end up (jump and destination are decoupled), and that destination can differ
> > depending on calling sequence.
> 
> Which, in some cases art least, makes "doing it the right way" even 
> worse. :D

Which is not surprised. Unless you are convinced that GOTO can't be abused
:-)



More information about the fpc-pascal mailing list