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-08 09:50:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!logbridge.uoregon.edu!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn From: Robert*@ Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word "_pkg" be part of it? Date: 8 Oct 2001 09:25:21 -0700 Organization: Newsguy News Service [http://newsguy.com] Message-ID: <9psk1h0hge@drn.newsguy.com> References: <9pif1o01btl@drn.newsguy.com> <3BBD12F1.9BED0B70@acm.org> <3BC0B1D4.21C79A8@acm.org> NNTP-Posting-Host: p-096.newsdawg.com X-Newsreader: Direct Read News 2.90 Xref: archiver1.google.com comp.lang.ada:13941 Date: 2001-10-08T09:25:21-07:00 List-Id: In article , Stephen says... > >I use _Type. The reason is that types and objects share the same >namespace, yet the most reasonable name for an object and a type is >the same: > >type Car is record ... end record; > >Car : Car; > >This is natural, but illegal. .... >type Car_Type is record ... end record; > >Car : Car_Type; > I also like the _type thing for same reason as above. (in C, many use _t ). Note in languages that are case sensitive, like Java, the convention is to use an Upper case first littler for a class name (at leat in Java that is what everyone does). So, the above is written like this: Car car; problem solved :)