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,b78c363353551702 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.219.170 with SMTP id pp10mr22741219pbc.1.1340200952591; Wed, 20 Jun 2012 07:02:32 -0700 (PDT) Path: l9ni72565pbj.0!nntp.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Wed, 20 Jun 2012 16:02:10 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: about the new Ada 2012 pre/post conditions References: In-Reply-To: Message-ID: <4fe1d7e3$0$9507$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Jun 2012 16:02:11 CEST NNTP-Posting-Host: 2547f73c.newsspool1.arcor-online.net X-Trace: DXC=fje;_Sg;0YjPXlQ;h]GTMdic==]BZ:afn4Fo<]lROoRankgeX?EC@@`[A^MO;>XjJgnc\616M64>jLh>_cHTX3jm]WVVGESR1Ca X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-06-20T16:02:11+02:00 List-Id: On 20.06.12 15:39, Nasser M. Abbasi wrote: > So, what is one to do? One of the principles of DbC is that assertion checking is not input checking. Rather, a programmer is checking the programmers' assertions, including his own. One flavor of assertion is called assumption. Conditions imply a proof obligation. Whether or not a car is stopped by a computer should not by any means depend on whether or not the assertions are checked in running code. That's not the intent of using them.