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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2a687662f09731bb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!usenet-fr.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: Ada Quality and Style book discussion Date: Thu, 17 Nov 2005 06:48:54 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host86-131-218-134.range86-131.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com 1132210134 1750 86.131.218.134 (17 Nov 2005 06:48:54 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 17 Nov 2005 06:48:54 +0000 (UTC) In-Reply-To: X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Xref: g2news1.google.com comp.lang.ada:6440 Date: 2005-11-17T06:48:54+00:00 List-Id: Anonymous Coward wrote: > "Today" and "The_First_Day" are better variable names if the objects > really have those meanings; but "This_Day" is lousy, because any noun > (and non-boolean objects should be nouns) can follow "This_", which is > completely meaningless. "_Type" is meaningful, because it indicates a > user defined type. It's just 2 or 3 characters longer than it needs to be! ;-) > "A_" and "An_" is almost as meaningless as "This_", because *most* > objects in a system are singular. It's far less noise to make plural > objects to stand out by adding an "s" or "_Array" or "_List". I'm not advocating "A(n)_" for objects - just types. I don't have a problem with "An_Array_Of_Foos". > function compute_altitude (using : in temperature; > and : in dew_point; > with : in pressure) return altitude is > begin > > return (using + and / with); > > end compute_altitude; Well that's just a pants idea - what if you have 7 parameters "and_also" "and_also_again"????