From: "Norman H. Cohen" <ncohen@watson.ibm.com>
Subject: _Type (was: Re: An array of records within an array of records (Still a problem))
Date: 1998/05/06
Date: 1998-05-06T00:00:00+00:00 [thread overview]
Message-ID: <35508D3F.4CB@watson.ibm.com> (raw)
In-Reply-To: 354FB3A5.4522@atlas.otago.ac.nz
Dr Richard A. O'Keefe wrote:
> The rule I was taught is a very simple one. You should name your
> types and your variables so that an object declaration like
>
> Open_Goal_Set: Goal_Set;
>
> can be read aloud as a TRUE and USEFUL sentence, pronouncing the
> colon as "is a".
If you end your type names with "_Type", the rule is simply to read the
colon as "is of" instead. Constructs such as
for Day in Weekday_Type
read more naturally using the _Type suffix.
--
Norman H. Cohen
mailto:ncohen@watson.ibm.com
http://www.research.ibm.com/people/n/ncohen
next prev parent reply other threads:[~1998-05-06 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-02 0:00 An array of records within an array of records (Still a problem) tmoran
1998-05-04 0:00 ` Stephen Leake
1998-05-06 0:00 ` Dr Richard A. O'Keefe
1998-05-06 0:00 ` Norman H. Cohen [this message]
1998-05-08 0:00 ` _Type (was: Re: An array of records within an array of records (Still a problem)) Michael F Brenner
1998-05-06 0:00 ` An array of records within an array of records (Still a problem) Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox