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,7a7040918881fd02 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-14 09:41:21 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!typhoon.san.rr.com!not-for-mail Message-ID: <3C431843.47796094@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Assertions in the Next Ada Standard References: <3C3E8438.E780D942@adaworks.com> <3C3F45EE.7030808@look.ca> <3C3FE630.BDB27416@adaworks.com> <3C40BC71.F3009405@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 14 Jan 2002 17:42:06 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 1011030126 66.75.151.160 (Mon, 14 Jan 2002 09:42:06 PST) NNTP-Posting-Date: Mon, 14 Jan 2002 09:42:06 PST Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:18917 Date: 2002-01-14T17:42:06+00:00 List-Id: Robert A Duff wrote: > The Eiffel rules are certainly a good starting point. But it would > require some thought to translate them into the Ada world. No question. My point was that DbC *should* be more than what you could do with just a macro preprocessor translator into inline asserts. The right answer for Ada, with tasks, protected types, tagged types, limited types, etc is likely to be far more complex than for a language as simple as Eiffel. Unfortunately, I don't have enough experience with Ada to have a good idea of all the pitfalls I'd run into if I tried to work something out myself. :-) -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. The opposite of always is sometimes. The opposite of never is sometimes.