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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5486a6bc39241084 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-14 06:41:16 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BC98A4A.E2D5B417@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Questions on implementations and specs References: <3BC71DBE.F2500FEA@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 14 Oct 2001 13:41:20 GMT NNTP-Posting-Host: 158.252.122.130 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1003066880 158.252.122.130 (Sun, 14 Oct 2001 06:41:20 PDT) NNTP-Posting-Date: Sun, 14 Oct 2001 06:41:20 PDT X-Received-Date: Sun, 14 Oct 2001 06:37:37 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:14480 Date: 2001-10-14T13:41:20+00:00 List-Id: 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