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 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Why .ads as well as .adb? Date: Sat, 8 Jun 2019 19:44:11 +0200 Organization: A noiseless patient Spider Message-ID: References: <28facad3-c55f-4ef2-8ef8-004925b7d1f1@googlegroups.com> <87woi0xtwm.fsf@nightsong.com> <4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com> <47d02bdc-6b50-43aa-bc5d-bb5b6225f5bd@googlegroups.com> <455333f0-ede4-4833-900a-240a499395ac@googlegroups.com> <875zphvufc.fsf@nightsong.com> Reply-To: nonlegitur@notmyhomepage.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 8 Jun 2019 17:45:41 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="6e6f9e68c5b36f9b23c94960a92a4f0e"; logging-data="18256"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Zz5T4w2+fhzTdulz/1IoA4RY7ZdZC62Q=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cancel-Lock: sha1:XtgBcqodm+KuoTFnDCaNcgr14Ac= In-Reply-To: <875zphvufc.fsf@nightsong.com> Content-Language: de-DE Xref: reader01.eternal-september.org comp.lang.ada:56564 Date: 2019-06-08T19:44:11+02:00 List-Id: On 08.06.19 01:37, Paul Rubin wrote: > Brad Moore writes: >> I think it is a big mistake of languages that encourage the >> specification and implementation to be in the same source file, and >> very surprised to see that anyone would be arguing for that. > > That seems like saying it's a mistake for math textbooks to be published > as single volumes. The text should instead be done in 2 volumes, with > the statements of the theorems in the first volume, and the proofs in > the second. In practice I don't know of any math textbooks published > that way. There are some multi-volume ones, but they all still go: > theorem, proof, theorem, proof. Another, different comparison can see a spec as a list of definitions to be dwelt on later in the text.