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,447840d42a580dc0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-29 05:05:01 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: okellogg@freenet.de (Oliver Kellogg) Newsgroups: comp.lang.ada Subject: Re: child packages and nested packages Date: 29 Mar 2002 05:05:01 -0800 Organization: http://groups.google.com/ Message-ID: <6a6390b8.0203290505.2ec75321@posting.google.com> References: <6a6390b8.0203230702.14c071c1@posting.google.com> <6a6390b8.0203280151.6681fd8f@posting.google.com> <4519e058.0203280649.2b6d7788@posting.google.com> <6a6390b8.0203281030.23c8356c@posting.google.com> <4519e058.0203281413.7b27ff92@posting.google.com> <6a6390b8.0203282130.2e4fe981@posting.google.com> NNTP-Posting-Host: 62.224.35.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1017407101 12519 127.0.0.1 (29 Mar 2002 13:05:01 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 29 Mar 2002 13:05:01 GMT Xref: archiver1.google.com comp.lang.ada:21827 Date: 2002-03-29T13:05:01+00:00 List-Id: Sergey Koshcheyev wrote: > Just a quick idea - maybe using "is separate" in some right places would > solve it? Like having the spec of A.B.Impl inside A.B, and having the body > separate. That's definitely possible, but still only a workaround solution. The real solution IMO is to permit nested packages as units that are interchangeable with child packages in package hierarchies. I.e. everywhere that a child package may appear, also a nested package could appear. It should be at the software archtiect's freedom how he chooses to physically lay out a unit in the hierarchy - as a child package or as a nested package. Oliver Kellogg