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: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Why .ads as well as .adb? Date: Thu, 6 Jun 2019 22:27:28 +0200 Organization: Adalog Message-ID: References: <28facad3-c55f-4ef2-8ef8-004925b7d1f1@googlegroups.com> <87woi0xtwm.fsf@nightsong.com> <4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 6 Jun 2019 20:27:25 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="42c4666c47224edc2384e78764544569"; logging-data="4376"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HOlWO9z0P4QPr8a+APqV5" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cancel-Lock: sha1:ST6zLgmh4CBcWUC4WRDii0q9h5c= In-Reply-To: Content-Language: fr Openpgp: preference=signencrypt Xref: reader01.eternal-september.org comp.lang.ada:56505 Date: 2019-06-06T22:27:28+02:00 List-Id: Le 06/06/2019 à 21:51, Keith Thompson a écrit : > A lot of people *prefer* having separate .ads and .adb files. This has been recommended practice ever since Ada 83. The reason is that otherwise, every time you fix a detail in the body, you recompile the spec at the same time, making every unit that depends on the spec obsolete. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr