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!gandalf.srv.welterde.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:17:37 -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:17:38 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="3499"; 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:56509 Date: 2019-06-06T16:17:37-05:00 List-Id: "Maciej Sobczak" wrote in message news:4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com... ... >>> If your point is only that most present-day compilers are (internally) >>> multi-pass, that is true, but I don't see the relevance. >> >> The relevance is that the argument about the difficulty the compiler >> might >have when parsing interdependent files that have no separate specs is now >not relevant. :-) The difficulty of a compiler never was very relevant (it's *waaay* down a list of requirements). Of course, you are essentially saying that separate compilation is unnecessary and all of the source for a program should be in one giant file (it's certainly easier to edit and find things that way). But of course that is nonsense, because of the value of compiling incomplete programs, the value of binary-only distributions, the value of separate programmers/teams working on carefully separated parts, and the value of reduced coupling. Randy.