From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.3 required=3.0 tests=BAYES_00,NICE_REPLY_A, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Aspect location in expression function. Date: Tue, 24 May 2022 20:24:14 +0200 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@notmyhomepage.de MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 24 May 2022 18:24:14 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="e9567c2acf92667a646d66bd8db45cd8"; logging-data="8545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3lX1efDTeT3o87X48UnXTFFO68YtFUE8=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Cancel-Lock: sha1:MLFRNahva0uy4miAHtw9V5s/W/o= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:63875 List-Id: On 24.05.22 06:05, Randy Brukardt wrote: > To the OP: we discussed placement of aspect specifications ad-nausem, as > issues like this always were coming up. There is no consistent rule that > really works well, because one does not want small things following large > sets of aspect specs -- they can get lost and overlooked. > > For instance, one puts aspect specifications after "is abstract" as > otherwise that could be lost after a lengthy precondition expression (and > it's too important to be lost). Isn't this emphasis on "is abstract" loosing the very point of abstraction? > See how that could happen in the following > (illegal) declaration: > > procedure P (A, B ,,,) > with Pre => here> > is abstract; Who cares to see "is abstract" if P is in a spec? The implementer, I guess, but the client? Less so.