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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a85dd10bdbdb69d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-10 06:54:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed.stueberl.de!news2.euro.net!195.129.110.4.MISMATCH!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!pegasus.csx.cam.ac.uk!solway.cl.cam.ac.uk!sjm217 From: news01+Steven.Murdoch@cl.cam.ac.uk (Steven Murdoch) Newsgroups: comp.lang.ada Subject: Re: Giving a package specification access to the private types of another package Date: 10 Dec 2002 14:54:49 GMT Organization: University of Cambridge, England Sender: sjm217@solway.cl.cam.ac.uk (Steven Murdoch) Message-ID: References: NNTP-Posting-Host: solway.cl.cam.ac.uk X-Newsreader: xrn 9.02 Xref: archiver1.google.com comp.lang.ada:31640 Date: 2002-12-10T14:54:49+00:00 List-Id: In article , "James S. Rogers" writes: >You clearly have a poor organization. Try to think a bit more about >modularity when designing packages. Either A and B should be >merged into a single package, or pieces of A and B should be >moved from one package to the other. A has a large amount of code but a very small specification. It would be correct to embed A in B, however this would make B very large. By having A as a package, B can be fairly small. A has a distict purpose (Memory Management) and I would like to isolate all of this in one file. Other than merging A and B there is nothing that can be moved between them and maintain correctness. A is used by B and by no other package, all of the procedures in A are used by B. Steven Murdoch.