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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:3303:: with SMTP id k3-v6mr1086109itk.2.1541494347640; Tue, 06 Nov 2018 00:52:27 -0800 (PST) X-Received: by 2002:aca:4892:: with SMTP id v140-v6mr24427oia.1.1541494347364; Tue, 06 Nov 2018 00:52:27 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!85.12.16.70.MISMATCH!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g188-v6no145877itg.0!news-out.google.com!n199-v6ni53itn.0!nntp.google.com!g188-v6no145873itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 6 Nov 2018 00:52:26 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.9.244.29; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 194.9.244.29 References: <5af3c4a0-5856-47ec-bb05-0ae9f9bb24ff@googlegroups.com> <98c7d0b5-2262-4246-bb4f-6dde1d59ff6b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <14fe0dc9-da23-4eac-a407-01198bfc7ae2@googlegroups.com> Subject: Re: Trivia: Ada packages are great! From: Maciej Sobczak Injection-Date: Tue, 06 Nov 2018 08:52:27 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2040 X-Received-Body-CRC: 1768911029 Xref: reader02.eternal-september.org comp.lang.ada:54778 Date: 2018-11-06T00:52:26-08:00 List-Id: > You can add procedures and function in separate files in Ada too > by using the 'separate' keyword. No. You need to edit the package spec to add subprogram declarations and then edit the body to introduce separate implementation and than, if you are not yet tired already, add new file to the project. Sounds like the worst option of all. In C++ you can "reopen" the namespace by just introducing a new file, without editing existing files related to that namespace. This allows to decouple logical and physical aspects of namespace designs. > And childpackages often help with hiearachies Sometimes they force hierarchies when there is no design reason for them. -- Maciej Sobczak * http://www.inspirel.com