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,1592759aa83d0d45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-25 10:55:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3ED1039F.7010001@spam.com> From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Suggestion for Ada 200x - Interface inheritance References: <0Pxza.699607$OV.652508@rwcrnsc54> <5ad0dd8a.0305240435.337d9373@posting.google.com> <5ad0dd8a.0305250612.ec54c23@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 25 May 2003 17:53:50 GMT NNTP-Posting-Host: 63.184.1.89 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1053885230 63.184.1.89 (Sun, 25 May 2003 10:53:50 PDT) NNTP-Posting-Date: Sun, 25 May 2003 10:53:50 PDT Xref: archiver1.google.com comp.lang.ada:37762 Date: 2003-05-25T17:53:50+00:00 List-Id: Wojtek Narczynski wrote: > > Yeah. Pre- and post-conditions are easier, I guess, because they can't > break current code, while the introduction of 'throws' ('raises'?), > without some trick, would. I would think we'd overload "raise" if this were introduced. Something like procedure Approach_Woman (Num_Beers_Drunk : in Natural) raise Your_Fly_Is_Open; perhaps? :) -- Jeff Carter "Now go away or I shall taunt you a second time." Monty Python & the Holy Grail