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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a270a1fc28d4f812 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-25 17:59:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1a) Gecko/20020619 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: OOD in Ada? References: <3d135676$0$8511$cc9e4d1f@news.dial.pipex.com> <3d1870b0$0$8507$cc9e4d1f@news.dial.pipex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 26 Jun 2002 00:59:15 GMT NNTP-Posting-Host: 162.83.247.204 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1025053155 162.83.247.204 (Tue, 25 Jun 2002 20:59:15 EDT) NNTP-Posting-Date: Tue, 25 Jun 2002 20:59:15 EDT Xref: archiver1.google.com comp.lang.ada:26704 Date: 2002-06-26T00:59:15+00:00 List-Id: David Crocker wrote: > There is no way I want to put all the expression and statement classes in > one package! The natural way to construct the project is to put each class > in its own file (and hence package, if I am using Ada). Keeping in mind that I don't know Ada, isn't this what child packages are for? Declare the base expression and statement classes in a package, and put each descendant in its own child package.