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,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Types, packages & objects : the good old naming conventions question (without religious ware) References: <7f84842e-3fb0-49c9-a5b2-85658e7a0082@b3g2000pre.googlegroups.com> From: Stephen Leake Date: Sat, 31 Oct 2009 08:26:05 -0400 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) Cancel-Lock: sha1:3HGPs7pqNZY+A9In8OoxY1Jsl5A= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: aea764aec2cd8e197caa726951 Xref: g2news2.google.com comp.lang.ada:8922 Date: 2009-10-31T08:26:05-04:00 List-Id: Stephen Leake writes: > Britt Snodgrass writes: > >> A short reply to a long post: >> >> I share your perspective. I work on "real" projects and our >> convention is to always use a "_Type" or " _Range" suffix on type and >> subtype names. I've also tried "_T" and but didn't like it as much. > > Interesting. I also use _Type, but I always have. I think in general, > abbreviations are discouraged in Ada. I know I generally tolerate > longer names in Ada than in C++. Another point; _T could easily be part of an object name (short for time, or top, or a math subscript of some sort). _Type is clearer. -- -- Stephe