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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9b17a1f51a26de9d X-Google-Attributes: gid103376,public From: "Norman H. Cohen" Subject: _Type (was: Re: An array of records within an array of records (Still a problem)) Date: 1998/05/06 Message-ID: <35508D3F.4CB@watson.ibm.com>#1/1 X-Deja-AN: 350813253 Content-Transfer-Encoding: 7bit References: <6ifs4p$fl8@lotho.delphi.com> <354DF790.B61E09F7@gsfc.nasa.gov> <354FB3A5.4522@atlas.otago.ac.nz> Mime-Version: 1.0 Reply-To: ncohen@watson.ibm.com Content-Type: text/plain; charset=us-ascii Organization: IBM Thomas J. Watson Research Center Newsgroups: comp.lang.ada Date: 1998-05-06T00:00:00+00:00 List-Id: 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