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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,820de86ed0dafb8a X-Google-Attributes: gid103376,public From: Mats Weber Subject: Re: Help Me Please :) Date: 2000/03/30 Message-ID: <38E3850B.819D78D9@mail.com>#1/1 X-Deja-AN: 604402291 Content-Transfer-Encoding: 7bit References: <89rlvr$gn9$1@nntp3.atl.mindspring.net> <38D8A607.F61F0FFF@mail.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sunrise.ch X-Trace: news1.sunrise.ch 954434828 13907 195.141.231.162 (30 Mar 2000 16:47:08 GMT) Organization: Usenet provided by sunrise communications ag Mime-Version: 1.0 NNTP-Posting-Date: 30 Mar 2000 16:47:08 GMT Newsgroups: comp.lang.ada Date: 2000-03-30T16:47:08+00:00 List-Id: Robert A Duff wrote: > > Mats Weber writes: > > I think the designers of Modula-3 got it just right. > I beg to differ, again. ;-) I agree with you on most points. What I meant is that the idea of being able to pass a parameter (even if only one) when raising an exception is much better than Ada's current approach where the only thing you can pass is a string. This would have been a very simple change to the language (almost as simple as including a string parameter in an exception occurence), and the mechanism can be used to simulate a hierarchy of exceptions, using a single exception with a tagged type as a paramter.