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,1b41412c7bc28c47 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Suffix _T for types found good References: <2e9ebb23-a68b-43cf-8871-febcb173f951@56g2000hsm.googlegroups.com> <4899d2af$0$19731$4d3efbfe@news.sover.net> <0ebdf2bf-5ce6-4618-8a78-4a9ebc3f7df7@79g2000hsk.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1218137848 12.201.97.213 (Thu, 07 Aug 2008 19:37:28 GMT) NNTP-Posting-Date: Thu, 07 Aug 2008 19:37:28 GMT Organization: AT&T ASP.att.net Date: Thu, 07 Aug 2008 19:37:28 GMT Xref: g2news1.google.com comp.lang.ada:1525 Date: 2008-08-07T19:37:28+00:00 List-Id: amado.alves@gmail.com wrote: > IIRC the rationale for "index : anIndex" is that it sounds like > English "index is an Index". Natural language syntax is a bitch! "Index is an index" is at best a tautology and at worst meaningless; in other words, this approach adds no value. Yet another mindless rule to avoid the effort of thinking up good names. "Index" is a poor variable name. What is it the index of? First_Comma : Index_Value; Start_Position : Index_Value; and so on. Good names add information. -- Jeff Carter "To Err is human, to really screw up, you need C++!" St�phane Richard 63