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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ea5071f634c2ea8b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.36.6 with SMTP id m6mr80846pbj.4.1321983964280; Tue, 22 Nov 2011 09:46:04 -0800 (PST) Path: lh20ni6068pbb.0!nntp.google.com!news2.google.com!news.glorb.com!xlned.com!feeder1.xlned.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 22 Nov 2011 18:46:02 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Generic-Package Elaboration Question / Possible GNAT Bug. References: <7bf9bc32-850a-40c6-9ae2-5254fe220533@f29g2000yqa.googlegroups.com> <4295dc09-43de-4557-a095-fc108359f27f@y42g2000yqh.googlegroups.com> <3snehoqgs8ia$.1nobjem6g6hx6$.dlg@40tude.net> <128rdz2581345$.c4td19l7qp9z$.dlg@40tude.net> <16ipwvpdavifr$.17bxf7if7f6kh$.dlg@40tude.net> <4ecb78b1$0$6643$9b4e6d93@newsspool2.arcor-online.net> <1iofgbqznsviu$.phvidtvxlyj4$.dlg@40tude.net> <4ecbb96e$0$6581$9b4e6d93@newsspool3.arcor-online.net> In-Reply-To: Message-ID: <4ecbdfdb$0$6629$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 22 Nov 2011 18:46:03 CET NNTP-Posting-Host: e25d9742.newsspool2.arcor-online.net X-Trace: DXC=?hMgKAeikgd[F<50eo:0knA9EHlD;3Ycb4Fo<]lROoRa8kFjLh>_cHTX3jmVenL8\U9OEe X-Complaints-To: usenet-abuse@arcor.de Xref: news2.google.com comp.lang.ada:14521 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2011-11-22T18:46:03+01:00 List-Id: On 22.11.11 17:23, Dmitry A. Kazakov wrote: >> Not sure, are you speaking about DbC (TM)? > > I don't care about trade marks and definitions given by reference > manuals... Frankly, doing so in some way will help discussing things. DbC is ... >> (b) A debugging ("design", "specification", bla-bla) aid leading >> towards formally proven components where such proofs are possible. > > I cannot decipher this, sorry. Meyer: "Programming is a human activity". Programmers are led towards a solution during the process of programming. Depending on the characteristics of the process, then, programmers will produce different results. DbC (TM), as a characteristic of a process, leads to products that lend themselves to proving them correct more than others, provided this is possible. >> "An exception is the element's inability to fulfil its contract, for any >> reason: a hardware failure has occurred, a called routine has failed, a >> software bug makes it impossible to satisfy the contract." > > An exception is a program state. It is not an inability. The behavior in an > exceptional state is contracted, at least in Ada it is. OK, erroneous execution. A program's behavior according to the contract. Yes. But lame. >> Without those dynamic checks, we wouldn't ever notice a failure? > > How would you notice a failure to notice? Really does not matter. There is no need to require forall-qualification of every aspect of DbC(TM) when it is not meant to be in a program if and only if the program (including hardware) is proven to be 100% such-and-such. Impractical. > The software which behavior is unknown shall never be executed. But this is impossible, in general!