Vinzent Höfler schrieb:


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


Exceptions sometimes remind me of the COME FROM statement of INTERCAL:
http://en.wikipedia.org/wiki/INTERCAL
I think even Wirth called exceptions even worse than come from.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to