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!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Why .ads as well as .adb? Date: Thu, 6 Jun 2019 16:12:22 -0500 Organization: JSA Research & Innovation Message-ID: References: <28facad3-c55f-4ef2-8ef8-004925b7d1f1@googlegroups.com> <87woi0xtwm.fsf@nightsong.com> <4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com> Injection-Date: Thu, 6 Jun 2019 21:12:23 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="3322"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader01.eternal-september.org comp.lang.ada:56508 Date: 2019-06-06T16:12:22-05:00 List-Id: "Maciej Sobczak" wrote in message news:4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com... >> Usually the body is initialized as a copy of the relevant parts of the >> spec. GPS even has a menu command for this, which generates an .adb >> file, with null subprogram bodies, from an .ads file. > > Isn't it a proof that tools are trying to fix the language problem? An IDE for a language that doesn't separate a spec certainly needs to have a mode where you could only see the specification parts of a source unit. That certainly is proof of tools fixing a language problem. ;-) Ergo, no language is going to be perfect; language design is a series of trade-offs, and one imagines that tools will fix things up for people that would rather have a different trade-off. Randy.