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-04 18:55:03 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BBD12F1.9BED0B70@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; 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: <9pif1o01btl@drn.newsguy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 05 Oct 2001 01:55:03 GMT NNTP-Posting-Host: 209.86.205.206 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1002246903 209.86.205.206 (Thu, 04 Oct 2001 18:55:03 PDT) NNTP-Posting-Date: Thu, 04 Oct 2001 18:55:03 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Thu, 04 Oct 2001 18:51:32 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:13760 Date: 2001-10-05T01:55:03+00:00 List-Id: "mike@nospam" wrote: > > i've seen some code where they write > > package foo_pkg is... > > i.e. the name of the package contains "pkg" or "package" in the name itself. > > this seems redundent to me, but may be not. what do folks think? Yes, it is redundant. But remember, these are all good things: package Foo_Package is ... type Radian_Type is ... procedure Calculate_Procedure (Initial_Guess_In_Float_Parameter : in Float ... Number_Of_Widgets_Positive_Variable : Positive; Pi_Real_Constant : Constant := 3.14159; Maximum_Word_Length_Positive_Constant : constant Positive := X'Last + Padding; except of course X and Padding are terrible names with no redundant information. -- Jeff Carter "Son of a window-dresser." Monty Python & the Holy Grail