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!reader02.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: Code organization Date: Thu, 27 Sep 2018 20:46:37 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <0956f152-7902-47cb-98e2-c6e5ba68b6b5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 27 Sep 2018 20:46:37 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="4b27f7e042c3593553890d99fd0bd6cd"; logging-data="5342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RhgAaeJVWMe+3F0G+hB4t4ocWw1CRY/4=" User-Agent: Pan/0.141 (Tarzan's Death; 168b179 git.gnome.org/pan2) Cancel-Lock: sha1:fvgV8hquAsJVYmjgFzUkdBaTnL0= Xref: reader02.eternal-september.org comp.lang.ada:54453 Date: 2018-09-27T20:46:37+00:00 List-Id: On Thu, 27 Sep 2018 07:24:46 -0700, NiGHTS wrote: > In one instance, I have a package that handles an xhtml object, but it > has tons of interface functions and procedures to the object the package > encapsulates. In this case I am frustrated by the ever-growing size of > this source code. The procedures themselves may be grouped into > categories, so it would have been nice to move some of these procedure > bodies to other files. Child packages may be your friend here - those categories sound a bit like child packages. They have some special visibility into the parent package that completely separate packages wouldn't. -- Brian