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: a07f3367d7,25d835bb9a4a003f X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,CP1252 Path: g2news2.google.com!news4.google.com!feeder3.cambriumusenet.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Types, packages & objects : the good old naming conventions question (without religious ware) Date: Thu, 29 Oct 2009 12:35:23 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: NNTP-Posting-Host: 3ec1658a4dc79c4425949df31936e130 Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ccc93afa98a172e91cc3fc44064cadc1 X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-Validate-Post: http://news.tornevall.net/validate.php?trace=ccc93afa98a172e91cc3fc44064cadc1 X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-Posting-User: 9b22bfe2855937f9b3faeec7cfc91295 Xref: g2news2.google.com comp.lang.ada:8850 Date: 2009-10-29T12:35:23-07:00 List-Id: Hibou57 (Yannick Duch�ne) wrote: > > The one which troubles me the most, is the most common convention > about type names, without a suffix. This one is very common, and so > much common that even the Ada standard packages set relies on it. > There are Boolean, not Boolean_Type, Integer, not Integer_Type, as > this Chapter 3 recalls. A quick Google groups search will find more than one long thread on this subject. Basically, people fall into 2 groups on this subject: those who agree with me, and those who are wrong :) Some people are wrong the other way: They don't allow type suffices, but instead use object and parameter prefixes: A_, An_, The_. FWIW, I am currently on a large, multi-person project which outlaws _Type, _T, and the prefixes, and the resulting code is quite readable. -- Jeff Carter "C's solution to this [variable-sized array parameters] has real problems, and people who are complaining about safety definitely have a point." Dennis Ritchie 25