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,FREEMAIL_FROM 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-7-bit Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 06 Aug 2008 20:23:38 -0500 From: "Steve" Newsgroups: comp.lang.ada References: <2e9ebb23-a68b-43cf-8871-febcb173f951@56g2000hsm.googlegroups.com> <4899d2af$0$19731$4d3efbfe@news.sover.net> Subject: Re: Suffix _T for types found good Date: Wed, 6 Aug 2008 18:23:38 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Response X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Message-ID: X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 24.20.111.206 X-Trace: sv3-s8G71OnKUvt0r+r9hWrSdrthesw/vYRWbQIlhGyqq2KUQP6TVCk2BJg1zH+nM4KK3JczhYRB4+Vj+Qi!hWWbGRooZkaz2XCH+Awi1VnAyCpVrZrCSzJpjqvUJF5fw64O7xivO4oJZCj2uvAPdzYHwlKQ6Qrw!5pBI1T0kWBQk8EXe1YOQau+9VZpP8Q== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:1484 Date: 2008-08-06T18:23:38-07:00 List-Id: "Peter C. Chapin" wrote in message news:4899d2af$0$19731$4d3efbfe@news.sover.net... > amado.alves@gmail.com wrote: > >> Regarding "_T" vs. "_Type" I am convinced the former is better but I >> have to leave the advocacy for later. Or for others ;-) > > Personally I prefer _Type. Yes it is more verbose but it follows the > convention of using fully spelled out words for things. For access types I > have used _Pointer. As in > > type Integer_Pointer is access all Integer; > > It mostly seems to work for me. I go with _Type too, but for pointers I go with _Acc. For years the convention at work (I'm not sure where it came from) was to precede type names with a lower case "a" or "an" so a declaration would be something like: index : anIndex; buffer : aBuffer; Since I used the convention for years I can say it helped readability a lot, but every once in a while I did run into cases where I would want a variable name to start with a or an and would have to choose something different, or accept some "different" looking code. Regards, Steve