comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Naming conventions
Date: Thu, 25 Jul 2002 06:50:13 -0500
Date: 2002-07-25T06:50:13-05:00	[thread overview]
Message-ID: <mailman.1027598405.22735.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 3D3F58F4.9050305@hotmail.com


----- Original Message ----- 
From: "Ryan Tarpine" <rtarpine@hotmail.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Wednesday, July 24, 2002 8:48 PM
Subject: Naming conventions


<snip>
Personally I like to use plural nouns for packages, and
singular nouns for types.

So, you might have package name Regular_Expressions,
and type name Regular_Expression.

However it is not illegal to use the same name for a type
as the name of the package in which it's declared.

For example the GNAT regular expression package is
named GNAT.Regexp, and the type name is Regexp.






  parent reply	other threads:[~2002-07-25 11:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-25  1:48 Naming conventions Ryan Tarpine
2002-07-25  2:51 ` Ted Dennison
2002-07-25  3:11 ` tmoran
2002-07-25  4:28 ` SteveD
2002-07-25 11:50 ` David C. Hoos, Sr. [this message]
2002-07-25 15:20 ` Stephen Leake
2002-07-25 16:24   ` Jean-Pierre Rosen
  -- strict thread matches above, loose matches on Subject: below --
1987-11-13 23:10 Michael.Rissman
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox