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-08-04 12:59:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Need advice re package organization. Date: 04 Aug 2003 15:52:04 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3F228F3B.9020203@attbi.com> <3F22F9E9.3040307@attbi.com> <5jn9ivoetll1fu2avn9hmjj6aaa7q7pmjn@4ax.com> <7GfWa.5186$mv6.907516@news20.bellglobal.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1060026812 27420 128.183.235.92 (4 Aug 2003 19:53:32 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 4 Aug 2003 19:53:32 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:41178 Date: 2003-08-04T19:53:32+00:00 List-Id: "Randy Brukardt" writes: > "Stephen Leake" wrote in message > news:uu191kqqd.fsf@nasa.gov... > > The C++ notions of public, protected, and private member functions do > > not map one-to-one into Ada, but they map fairly well according to the > > following scheme (data members below): > > > > C++ Ada > > public public part of package spec > > protected private part of package spec > > private package body > > Thanks. You're welcome. It's not often I get to provide a service like this :). > It doesn't seem particularly valuable to me; the extra type(s) > needed to achieve this are mildly annoying but hardly in the class > of critical flaw. I agree. I think the C++ approach leads to more confusion than it is worth. -- -- Stephe