comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcqada@earthlink.net>
Subject: Re: Questions on implementations and specs
Date: Sun, 14 Oct 2001 13:41:20 GMT
Date: 2001-10-14T13:41:20+00:00	[thread overview]
Message-ID: <3BC98A4A.E2D5B417@earthlink.net> (raw)
In-Reply-To: 3BC71DBE.F2500FEA@san.rr.com

Darren New wrote:
> 
> > but I think the Java 'must specify exceptions' is a pain mostly (even though
> > it helps with documenting exceptions).
> 
> It's mostly a pain when you're dealing with callbacks, tho. If your
> comparison routine might throw an error, and your sort routine doesn't
> declare the comparison routine as capable of throwing an error, you're
> pretty screwed.
> 
> Of course, you can throw a run-time exception, but that kind of defeats
> the purpose of declaring such things.

Just as a point of information:

The theme of the 9/01 issue of SIGAda's Ada Letter's publication is what
to do about Ada's exceptions.  There's pretty universal agreement that
Ada's exception model is not well integrated with the rest of the
language (which is oriented around a comprehensive typing model), and
that the exception capabilities provided by C++ and Java are superior in
most aspects.

It appears likely that people want some kind of significant improvement
of the exception model for Ada 0Y, it's just not clear yet what the form
of that improvement will be.

Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadruscorp.com



      reply	other threads:[~2001-10-14 13:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 17:03 Questions on implementations and specs chris.danx
2001-10-11 18:31 ` chris.danx
2001-10-11 22:39   ` chris.danx
2001-10-12 10:31 ` Aidan Skinner
2001-10-12 12:39   ` chris.danx
2001-10-12 16:43     ` Darren New
2001-10-14 13:41       ` Marc A. Criley [this message]
replies disabled

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