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.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,b6d862eabdeb1fc4 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?iso-8859-15?Q?Yannick_Duch=EAne_=28Hibou57=29?= Newsgroups: comp.lang.ada Subject: Re: Ada noob here! Is Ada widely used? Date: Mon, 07 Jun 2010 14:56:54 +0200 Organization: Ada At Home Message-ID: References: <0e88de66-128c-48fd-9b9f-fdb4357f318a@z17g2000vbd.googlegroups.com> <2o8vq76hpv1m.vs7m2beo23nz.dlg@40tude.net> <1q5k4indthpli.1dn17o4ue4a15$.dlg@40tude.net> <4c0c1188$0$6887$9b4e6d93@newsspool2.arcor-online.net> <4c0cd44f$0$6766$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: uc9w8JL/SPghnB/cvHTiUA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.53 (Win32) Xref: g2news1.google.com comp.lang.ada:11410 Date: 2010-06-07T14:56:54+02:00 List-Id: Le Mon, 07 Jun 2010 13:13:18 +0200, Georg Bauhaus = a =E9crit: > DbC, however, has to do with designing components of the ship. > You can have rescue clauses (exception handlers) > in DbC. Yes, DnC is rather part of design than part of the application. This may not be perfect (words to Dmitry), while this still help to focu= s = on design. BTW, nobody claimed DbC as proposed for Ada 2012 was sufficient to prove= a = program. Ada also has an expected role in pedagogy, and DbC can help it to play = this role. I believe this way of DbC is most likely to attract people th= an = a more strict one (two teachers here said even students tend to avoid = designing... so try to figure what the crowd's behavior can be) like SPA= RK = (which is neither perfect for some practical reasons although it perfect= ly = sounds). The important fact is that it is a step toward without any step= = backward. I neither believe the proposed DbC will ever bloat Ada or give= = it any weakness holes. I agree with you (still talking to Dmitry), when = = you complain, as an example, generics comes with numerous troubles ; = however, if a comparison was to be made, we will probably see Ada's DbC = = will comes with far less troubles (in the program proof area) than = generics which are already there from long. There is no reason to focus = on = Ada 2012 DbC as a potential source of trouble. May be an opportunity to ask (a second time) for a question I have in = mind: will SPARK (in the future) get benefit from Ada's DbC annotations = ? -- = There is even better than a pragma Assert: a SPARK --# check. --# check C and WhoKnowWhat and YouKnowWho; --# assert Ada; -- i.e. forget about previous premises which leads to conclusion -- and start with new conclusion as premise.