From: Simon Wright <simon@pushface.org>
Subject: Re: Help on record to a Newbie
Date: Fri, 28 Dec 2012 09:29:20 +0000
Date: 2012-12-28T09:29:20+00:00 [thread overview]
Message-ID: <lya9syy173.fsf@pushface.org> (raw)
In-Reply-To: fb7789b7-f2b3-4db0-9efc-264b860c6df0@googlegroups.com
Cedric <georg.maubach@gmail.com> writes:
> It is interesting to see that you also have a style that indicates
> types. You mentioned the current Ada style. Can you send me a link to
> the document you referenced?
You're on the point of igniting a flame war here!
Even the Ada language is inconsistent here: we don't say
{Standard.}Integer_Type, but we do say {Ada.Text_IO.}File_Type.
Personally I don't use _Type or _T, you know the name is that of a type
from context (eg, in
Foo : Bar;
you know Bar is a type). I will admit that this sometimes requires more
thought; it's easy to say
Bar : Bar_T;
But more thought is usually a Good Thing.
The only "standard" style guide I know is the Ada 95 Quality and Style
Guide[1]. There is an Ada 2005 update in the form of a wikibook[2].
[1] http://www.adaic.org/resources/add_content/docs/95style/95style.pdf
[2] http://en.wikibooks.org/wiki/Ada_Style_Guide
next prev parent reply other threads:[~2012-12-28 9:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-27 19:31 Help on record to a Newbie Cedric
2012-12-27 19:50 ` Jeffrey Carter
2012-12-27 19:51 ` Niklas Holsti
2012-12-27 20:25 ` Shark8
2012-12-27 23:53 ` Cedric
2012-12-28 8:00 ` Niklas Holsti
2012-12-28 8:30 ` Cedric
2012-12-28 9:29 ` Simon Wright [this message]
2012-12-30 17:29 ` Niklas Holsti
2012-12-28 11:52 ` Cedric
2012-12-28 15:36 ` Shark8
2012-12-30 16:03 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox