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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable 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:12:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: Francisco Javier Loma Daza Newsgroups: comp.lang.ada Subject: Re: on package naming, should the word "_pkg" be part of it? Date: Mon, 08 Oct 2001 18:11:53 +0200 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <9pif1o01btl@drn.newsguy.com> <3BBD12F1.9BED0B70@acm.org> <3BC0B1D4.21C79A8@acm.org> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 1002557569 65936 137.194.161.2 (8 Oct 2001 16:12:49 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 8 Oct 2001 16:12:49 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: In-Reply-To: X-Mailer: Spruce 0.7.4 for X11 w/smtpio 0.8.2 X-Virus-Scanned: by AMaViS perl-11 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk X-Reply-To: Francisco.Loma@isotrol.com List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:13934 Date: 2001-10-08T18:11:53+02:00 > type Car is record ... end record; > > Car : Car; > > ............................... > type Car_Type is record ... end record; > > Car : Car_Type; I use the following name convention package Car is type Object is record .. end record; procedure Oper1(this: Object); end Car; and then a_car: Car.Object; I like this way because generic instantiation keeps very readable package Car_List is new Generic_List(Car.Object); and then a_car_list: Car_List.Object;