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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c39ad3e35a7690a9 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.73.229 with SMTP id o5mr3819393pbv.7.1328883767917; Fri, 10 Feb 2012 06:22:47 -0800 (PST) Path: wr5ni8864pbc.0!nntp.google.com!news1.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Convention for naming of packages Date: Fri, 10 Feb 2012 15:22:46 +0100 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: 3Dnc1BsVLavoSxHR9zQiRQ.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.61 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2012-02-10T15:22:46+01:00 List-Id: Le Fri, 10 Feb 2012 13:19:47 +0100, Brian Drummond = a =C3=A9crit: > If you have accepted _type, then why not _pkg for consistency? I don't use _Type because I enjoy it, rather due to the too many conflic= t = which occurs otherwise. I prefer abstract names, which ends to be the sa= me = as the one you use for type. _Pkg is an abbreviation, something which I would like to avoid, for a = matter of style. I mean uncommon abbreviation, and names like HTML, CSS,= = are OK. I also would like to avoid suffix proliferation and use these on= ly = when strongly required. > Then you have > Weather : Weather_type :=3D Weather_pkg.predict; > > I have seen this as a requirement in (VHDL) coding standards. > But where plurals are more appropriate, I would prefer them. When the package is named after an object name, I agree (some package ar= e = named after an operation name, a pattern name, and other non=E2=80=91obj= ects). Will have a look at VHDL style convention. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity