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,7eaf9f2597de2259 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-10 12:30:14 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cyclone.bc.net!sjcppf01.usenetserver.com!usenetserver.com!news-west.rr.com!lsnws01.we.mediaone.net!typhoon.san.rr.com!not-for-mail Message-ID: <3BC4A1BE.D7308C88@san.rr.com> From: Darren New Organization: Boxes! X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word "_pkg" be part of it? References: <3BC464DA.B99EF74@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 10 Oct 2001 19:30:20 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 1002742220 66.75.151.160 (Wed, 10 Oct 2001 12:30:20 PDT) NNTP-Posting-Date: Wed, 10 Oct 2001 12:30:20 PDT Xref: archiver1.google.com comp.lang.ada:14202 Date: 2001-10-10T19:30:20+00:00 List-Id: tmoran@acm.org wrote: > > >"profile" class-wide type and a "controller" classwide type. They're > >... > >So yeah, having an OO kind of syntax to say what's a primitive operation > >of which would probably help in this case. > 'class is a short and sweet way to say what's a primitive operation > of which: > procedure p(x: in Profile_Type; y : in Controller_Type'class); > procedure q(x: in Profile_Type'class; y : in Controller_Type); > p is a primitive operation of Profile_Type > q is a primitive operation of Controller_Type Correct! Forgive this novice! :-) My brain is all aswirl today. > > ... will need to be declared in the same package, and since they're > > both tagged, it's going to be a mess sorting out the primitive operations. > IMHO, a tagged type is just another programming construct, like a > procedure or a record declaration. Nobody would argue that there should > only be a single procedure per package and there's similarly nothing > inherently bad about multiple OO declarations in a single package. Right. I just forgot that you need to put 'class on the parameters that weren't supposed to cause dispatching. My bad. -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. Who is this Dr. Ibid anyway, and how does he know so much?