[net.lang.mod2] SetJmp implemented in M2

metzger@heathcliff.columbia.edu (Perry Metzger) (08/05/86)

 Hello, all.

The posting of a SetJmp-LongJmp brings to mind a question I have had for a
long time. Why is it that when he designed Modula-2, Wirth explicitly
left out any exception handler mechanism like SetJmp? I have heard that he
hates exception handlers. Why is this? They seem at times to be extremely
useful. Does anyone know why he thinks so poorly of such mechanisms? And
if he does have a good reason for disliking them, should we be encouraging
non-portability by using privately created versions?

.pm

Perry Metzger

Arpanet: metzger@heathcliff.columbia.edu
UUCP: ...![seismo, topaz]!columbia!heathcliff!metzger