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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,7ae84c67e252c8f8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-25 09:25:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!newspeer.clara.net!news.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail From: "Jean-Pierre Rosen" Newsgroups: comp.lang.ada Subject: Re: Naming conventions Date: Thu, 25 Jul 2002 18:24:30 +0200 Organization: Adalog Message-ID: References: <3D3F58F4.9050305@hotmail.com> NNTP-Posting-Host: mailhost.axlog.fr X-Trace: s1.read.news.oleane.net 1027614199 2299 195.25.228.57 (25 Jul 2002 16:23:19 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Thu, 25 Jul 2002 16:23:19 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Xref: archiver1.google.com comp.lang.ada:27407 Date: 2002-07-25T18:24:30+02:00 List-Id: "Stephen Leake" a �crit dans le message news: u8z3zzvdx.fsf@gsfc.nasa.gov... > > > Coming from C++, what I used to think of as a class (a type and its > > associated methods) is now roughly equivalent to a package. Whenever I > > try to name a package, I use what I normally think of as the type > > itself. For example, I would put a vector type in a package Vector or a > > regular expression type in a package Regular_Expression. However, once > > I name the package, I am at a loss for what to call the data type inside. > See "A naming convention for classes in Ada 9X", Ada Letters Vol XV n� 2, for a discussion of a solution to this problem. You can also download the paper from http://www.adalog.fr/publica2.htm -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr