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 X-Received: by 2002:a02:1cc6:: with SMTP id c189mr49755922jac.119.1560269671394; Tue, 11 Jun 2019 09:14:31 -0700 (PDT) X-Received: by 2002:a9d:2f0:: with SMTP id 103mr25097379otl.182.1560269671234; Tue, 11 Jun 2019 09:14:31 -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!g15no203157itd.0!news-out.google.com!l135ni407itc.0!nntp.google.com!s188no204078itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 11 Jun 2019 09:14:30 -0700 (PDT) In-Reply-To: <4516d350-0076-4dc7-b482-87d5693d3977@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=131.95.175.112; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 131.95.175.112 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> <4516d350-0076-4dc7-b482-87d5693d3977@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0c9a9692-5fa2-46ba-8649-d5bddcc88a3f@googlegroups.com> Subject: Re: Why .ads as well as .adb? From: John Perry Injection-Date: Tue, 11 Jun 2019 16:14:31 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56613 Date: 2019-06-11T09:14:30-07:00 List-Id: On Tuesday, June 11, 2019 at 10:39:21 AM UTC-5, Brad Moore wrote: > Consider a java class from an example of the n-body problem from the Computer Benchmarks Game website; > > See https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/nbody-java-5.html > > For the comparison, examine the NBodySystem class, which is the bulk of the example, which appears to be a well written java program. > > Imagine someone handed you this class and you asked you to write a program that uses it. It takes a bit of reading to pull out the important parts, just to figure out how to use the class. Why would someone hand you the source code? It's more likely they would hand you the output from javadoc, and you'd work with that. john perry