From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc243f3bb85ffa4f X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Exceptions: Are they GOTOs? Date: 1996/07/18 Message-ID: #1/1 X-Deja-AN: 169603231 references: <4s4gic$etl@news.pacifier.com> <19960718.083252.684@satcom.whit.org> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-07-18T00:00:00+00:00 List-Id: Robert Dunn said "Second. Can we kill this thread? It is getting rather redundant. To answer the question as to exception=goto is simple. Does execution resume at the statement after the statement on which the exception occured (was raised)? If it does, then exception<>goto. If it does not then exception=goto." A fascinating definition, by which if statements, while statements etc are all gotos! Robert, you are free to define things anyway you want, but if you want to use a really bizarre and unusual definition like this (any change in flow of control is a goto), then you sure need to make clear that you are using this word very differently from anyone else. Of course the issue of whether exceptions are gotos is very much a definitional one, and is a rather silly way to frame a reasonable question: namely are exceptions a useful and appropriate control structure. And the answer to that is clearly yes -- there may not be a complete consensus on this, but close to it I would think!