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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:a5e:aa15:: with SMTP id s21mr21495773ioe.221.1559894363154; Fri, 07 Jun 2019 00:59:23 -0700 (PDT) X-Received: by 2002:aca:d746:: with SMTP id o67mr2938440oig.157.1559894362907; Fri, 07 Jun 2019 00:59:22 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!s188no182087itb.0!news-out.google.com!l135ni282itc.0!nntp.google.com!g15no176105itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 7 Jun 2019 00:59:22 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=165.225.84.70; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 165.225.84.70 References: <28facad3-c55f-4ef2-8ef8-004925b7d1f1@googlegroups.com> <87woi0xtwm.fsf@nightsong.com> <4a0438de-1f1d-4469-aae4-908854d378ea@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <47d02bdc-6b50-43aa-bc5d-bb5b6225f5bd@googlegroups.com> Subject: Re: Why .ads as well as .adb? From: Maciej Sobczak Injection-Date: Fri, 07 Jun 2019 07:59:23 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56534 Date: 2019-06-07T00:59:22-07:00 List-Id: > 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 Of course you are proving now that you did not understand the question posted earlier in this thread. 1. There *are* languages that don't use separate spec files. Java and Python are well known examples, representing both compiled and scripted approaches. 2. Programs written in those languages do *not* need to be written in one giant file. Actually, Java is frequently criticized (it was even in this thread) for forcing the programmer to use too many (!) files. Even though it does not have separate specs. Obviously, I'm *not* saying that separate compilation units are not needed and I'm *not* saying that programs should be written in one giant file. What I'm saying is that experiences gathered with other languages allow to question some of the reasons that are frequently cited as a justification for having separate spec files. -- Maciej Sobczak * http://www.inspirel.com