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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ec21c3c7cdc7ff3e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed.gamma.ru!Gamma.RU!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Handling invalid objects Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <3pKdnRGO2eWjQr3ZnZ2dneKdnZydnZ2d@comcast.com> Date: Wed, 22 Mar 2006 09:48:48 +0100 Message-ID: <1peyefbqozdml.afdrxqiuyi0b$.dlg@40tude.net> NNTP-Posting-Date: 22 Mar 2006 09:48:52 MET NNTP-Posting-Host: 2af65a61.newsread4.arcor-online.net X-Trace: DXC=ESGnJb`BEQ1d9772DFAUn2:ejgIfPPld4jW\KbG]kaM8eDdmR4DE3RWRXZ37ga[7:n919Q4_`Vj9NZZj5LgkU<7 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:3545 Date: 2006-03-22T09:48:52+01:00 List-Id: On Tue, 21 Mar 2006 23:23:10 -0600, tmoran@acm.org wrote: >> An exception is only a specific type of goto >> statement - and gotos are not exactly state of the art. > If it doesn't quack, doesn't waddle, and doesn't look like a duck, > it's not a duck. An exception both looks and acts quite different > from a goto. If exceptions are gotos, then return codes should be gotos with label variables! (:-)) Still exception contracts would greatly improve safety of Ada as a language. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de