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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: Why .ads as well as .adb? Date: Fri, 07 Jun 2019 16:37:27 -0700 Organization: A noiseless patient Spider Message-ID: <875zphvufc.fsf@nightsong.com> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="640621aae3b71b5fdc6a6a9f3536ce7d"; logging-data="24714"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/f+0r7aM+JitxXRJuNkvGa" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:ZMq5SxUhi/i54/QxFAqIOjQdFAg= sha1:UvhsFiXe7eoSJCFZfkNVA6NwA0o= Xref: reader01.eternal-september.org comp.lang.ada:56548 Date: 2019-06-07T16:37:27-07:00 List-Id: 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.