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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ad06d2d7cb045687 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.189.72 with SMTP id gg8mr15061321pbc.4.1328047326976; Tue, 31 Jan 2012 14:02:06 -0800 (PST) Path: lh20ni246229pbb.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: =?utf-8?B?U2lsbHkgYW5kIHN0dXBpZCBwb3N04oCRY29uZGl0aW9uIG9yIG5vdMKgPw==?= Date: Tue, 31 Jan 2012 23:02:04 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: ORlngJW8mt48EkB5K/HOIA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.61 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-01-31T23:02:04+01:00 List-Id: Le Tue, 31 Jan 2012 19:48:19 +0100, Jeffrey Carter = a =C3=A9crit: > On 01/30/2012 11:47 PM, J-P. Rosen wrote: >> >> Is this particular one useful? If you think that it is a property of >> your subprogram that should be made explicit to the user, yes. If you= >> think it is just a redundant property that only repeats the propertie= s >> of the specification, no. Really a matter of appreciation. > > The condition in question looks more like a precondition than a = > postcondition to me: > > with Pre =3D> S'Length in Image_Length_Type I understand your point, but no, this is not a precondition, as the = condition will not raise an exception. Although an error status may be = returned, this error status is a legal result here. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity