comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Exceptions: Are they GOTOs?
Date: 1996/07/14
Date: 1996-07-14T00:00:00+00:00	[thread overview]
Message-ID: <dewar.837356814@schonberg> (raw)
In-Reply-To: 4s4tgs$po6@masala.cc.uh.edu


Spasmo said

"Well, exceptions IMO do seem to be a bit unstructured in that control
is immediately transferred to another block and everything is surpassed
so that the possible paths of execution may not be obvious, however
I think this is a very small price to pay for such a beautiful way of
handling errors."

This is an odd definition of structure, but if this is your definition
of structured, then I think your assumption that anything that is not
structured is bad is wrong. I know you go on to say that exceptions are
useful, but you should not accept even for a moment the orhodoxy that
such transfers of control are somehow unstructured and therefore inherently
bad! I assume you have read Knuth's paper :-)





  parent reply	other threads:[~1996-07-14  0:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  0:00 Exceptions: Are they GOTOs? Bradley Edelman
1996-07-11  0:00 ` Robert A Duff
1996-07-11  0:00 ` Michel Gauthier
1996-07-12  0:00 ` Spasmo
1996-07-12  0:00   ` David Morton
1996-07-14  0:00   ` Robert Dewar [this message]
1996-07-17  0:00     ` Spasmo
1996-07-18  0:00       ` Walter B. Hollman Sr.
1996-07-20  0:00         ` Robert Dewar
1996-07-12  0:00 ` steved
1996-07-13  0:00   ` Michael Feldman
1996-07-16  0:00   ` Robert I. Eachus
1996-07-19  0:00     ` Michel Gauthier
1996-07-18  0:00   ` Robert Dunn
1996-07-18  0:00     ` Robert Dewar
1996-07-19  0:00       ` Larry J. Elmore
1996-07-20  0:00         ` Andy Askey
1996-07-13  0:00 ` Robert Dewar
1996-07-14  0:00 ` Andy Askey
1996-07-14  0:00   ` Laurent Guerby
1996-07-15  0:00     ` Andy Askey
1996-07-15  0:00       ` Robert Dewar
1996-07-14  0:00   ` Robert Dewar
1996-07-15  0:00 ` OS2 User
1996-07-16  0:00 ` Michel Gauthier
1996-07-17  0:00 ` Michel Gauthier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox