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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,23cf9f1e93744eed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-26 15:00:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail Message-ID: <3F22F9E9.3040307@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Need advice re package organization. References: <3F228F3B.9020203@attbi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 66.31.71.243 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc01 1059256816 66.31.71.243 (Sat, 26 Jul 2003 22:00:16 GMT) NNTP-Posting-Date: Sat, 26 Jul 2003 22:00:16 GMT Organization: Comcast Online Date: Sat, 26 Jul 2003 22:00:16 GMT Xref: archiver1.google.com comp.lang.ada:40853 Date: 2003-07-26T22:00:16+00:00 List-Id: Warren W. Gay VE3WWG wrote: > [As a side note, I sometimes wonder if an enhancement to the Ada0Y > language might be to be able to specify a limited visibility of a > parent package's object's internals (a la not "protected" type in > C++). A protected class in C++ allows derived code to mess with the > internals, whereas normally the parent object's elements are a > black box. Use of limited visibility helps to reduce code coupling.] Actually, that is what a private child package is for. It allows you to move all of the "useful" internals out of a package body to a place where the body and all the child packages can access them. -- Robert I. Eachus "As far as I'm concerned, war always means failure." -- Jacques Chirac, President of France "As far as France is concerned, you're right." -- Rush Limbaugh