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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC 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.223.73 with SMTP id qs9mr16062911pbc.7.1341660717817; Sat, 07 Jul 2012 04:31:57 -0700 (PDT) Path: l9ni11086pbj.0!nntp.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: about the new Ada 2012 pre/post conditions Date: Sat, 7 Jul 2012 13:31:46 +0200 Organization: cbb software GmbH Message-ID: References: <1hgo6aks03zy.by4pq4xbjsgf$.dlg@40tude.net> <1jvy3elqtnd1j.1sjbk32evhp1f$.dlg@40tude.net> <1oih2rok18dmt.avbwrres5k12.dlg@40tude.net> <13hfxjlq0xqtq.x3v8evyf4pku$.dlg@40tude.net> <13p2n1ve6lbrc.yr8d2a5ljm8$.dlg@40tude.net> <1ee9qp0cy5me4.1vh22pi92ls6n$.dlg@40tude.net> <4ff81ae0$0$9504$9b4e6d93@newsspool1.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-07-07T13:31:46+02:00 List-Id: On Sat, 07 Jul 2012 13:17:52 +0200, Georg Bauhaus wrote: > On 07.07.12 10:06, Dmitry A. Kazakov wrote: >>> Contract is roughly equivalent to (Ada) specification. Implementation is >>> roughly equivalent to (Ada) body. > >> There are two kind entities involved A and >> B. The check may be attributed to either A or B. > > There is no need for such attribution. Still, it is either A or B. > The point is that the "program proper", i.e. the list of instructions, > is the very same irrespective of monitoring assertions. The program is not a list of instructions. The latter is called "code" of the program. But the error is *very* telling. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de