comp.lang.ada
 help / color / mirror / Atom feed
From: robert_dewar@my-dejanews.com
Subject: Re: A small Ada success story
Date: 1999/03/21
Date: 1999-03-21T00:00:00+00:00	[thread overview]
Message-ID: <7d2nvv$9f4$1@nnrp1.dejanews.com> (raw)
In-Reply-To: Pine.A41.3.96-heb-2.07.990321112735.44958A-100000@pluto.mscc.huji.ac.il

In article
<Pine.A41.3.96-heb-2.07.990321112735.44958A-100000@pluto.ms
cc.huji.ac.il>,
  Ehud Lamm <mslamm@mscc.huji.ac.il> wrote:
> This is a fun topic to think about. I am far from sure
> which approach is better. It is clear that the
> exception-as-object approach is by definition
> more flexibale and more complicated.

One important issue here is to have a clear idea of what
exceptions are for. I am constantly amazed to see Ada
code which very badly abuses exceptions, and uses them
essentially as an (out of) control form in a general way.
I fear that adding capability to exception handling can
further encourage such misuse.

The Burns and Welling book pretty clearly shows that you
can use Ada exceptions to cleanly model the usual error
detection and recovery paradigms, and so I am far from
convinced that it is a good idea to decorate this
particular feature of the language any further!

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-03-21  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-14  0:00 A small Ada success story Steffen Huber
1999-03-17  0:00 ` Tom Moran
1999-03-17  0:00   ` dennison
1999-03-18  0:00     ` locating exceptions (was: Ada success story) Markus Kuhn
1999-03-18  0:00     ` A small Ada success story Corey Ashford
1999-03-18  0:00       ` bill
1999-03-19  0:00         ` Fraser Wilson
1999-03-21  0:00           ` Ehud Lamm
1999-03-21  0:00             ` robert_dewar [this message]
1999-03-21  0:00               ` Tom Moran
1999-03-21  0:00                 ` robert_dewar
1999-03-22  0:00               ` Simon Wright
1999-03-19  0:00         ` Larry Kilgallen
1999-03-20  0:00         ` locating exceptions (Ada vs. Java) Markus Kuhn
1999-03-20  0:00           ` bill
1999-03-19  0:00       ` A small Ada success story dewar
1999-03-19  0:00     ` Michael F Brenner
1999-03-26  0:00       ` Steve Quinlan
1999-03-17  0:00 ` Nick Roberts
replies disabled

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