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-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.28.135 with SMTP id b7mr7278503pbh.8.1322122066491; Thu, 24 Nov 2011 00:07:46 -0800 (PST) Path: lh20ni12010pbb.0!nntp.google.com!news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Generic-Package Elaboration Question / Possible GNAT Bug. Date: Thu, 24 Nov 2011 08:07:45 +0000 Organization: A noiseless patient Spider Message-ID: References: <7bf9bc32-850a-40c6-9ae2-5254fe220533@f29g2000yqa.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> <4ecbdfdb$0$6629$9b4e6d93@newsspool2.arcor-online.net> <12hfiflyf7pr5$.l3pkpgoid8xt$.dlg@40tude.net> <1ecuhb030iugz.4q1hfjx371xa.dlg@40tude.net> <4ecc393d$0$7625$9b4e6d93@newsspool1.arcor-online.net> <124aq618dmove.884jj64mzm6w$.dlg@40tude.net> <1jxx617mf2cqf$.1j076axdq83mr$.dlg@40tude.net> <1cjufyo57vlpg$.11kf45cs5vnb7.dlg@40tude.net> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="8397"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/JTJ0q8KOgfibTBzCOZhv7SWIATFvq0yg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:GWWk7XDPv3Pz7r+Ann+sBclcVI4= sha1:CvMN/+X/3iH/07fF6wdBcyZfurk= Xref: news1.google.com comp.lang.ada:19104 Content-Type: text/plain; charset=us-ascii Date: 2011-11-24T08:07:45+00:00 List-Id: "Dmitry A. Kazakov" writes: > On Wed, 23 Nov 2011 15:12:07 +0000, Simon Wright wrote: > >> "Dmitry A. Kazakov" writes: >> >>> P.S. I hope everybody agrees that dynamic pre-/post-conditions are a >>> part of the implementation? >> >> I think I don't actually care that much! > > Should it mean that you don't care about separation of implementation > and interface? What I think I was trying to say was that it doesn't seem to me to make a lot of difference whether the pre/post-conditions are dynamic. Providing, of course, I've understood your point. To take Georg's example of the stack, I don't see how you're going to express the fact that its capacity is bounded other than by comments about constraint errors or by preconditions. I seem to be tempted into speculations about SPARK at this point. Stacks seem to be a rather dangerous construct from the point of view of proving correctness, logic not being very good at counting.