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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no 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!postnews.google.com!m45g2000hsb.googlegroups.com!not-for-mail From: amado.alves@gmail.com Newsgroups: comp.lang.ada Subject: Re: Suffix _T for types found good Date: Wed, 6 Aug 2008 12:36:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <9fefe464-38fb-450f-8fa3-3775736420b8@m45g2000hsb.googlegroups.com> References: <2e9ebb23-a68b-43cf-8871-febcb173f951@56g2000hsm.googlegroups.com> <4899dc60$0$23583$4f793bc4@news.tdc.fi> <4899f052$0$23608$4f793bc4@news.tdc.fi> NNTP-Posting-Host: 89.214.52.235 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1218051370 26128 127.0.0.1 (6 Aug 2008 19:36:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 6 Aug 2008 19:36:10 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m45g2000hsb.googlegroups.com; posting-host=89.214.52.235; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:1475 Date: 2008-08-06T12:36:09-07:00 List-Id: > > Object_Ref : Object_Ref_T; ... > Using _Ref on the object identifiers would reduce readability in my > opinion -- the many _Refs would clutter the statements... Yes, this is only for cases where you have a value and a pointer in the same block of logic e.g. ... Object_Ref : Object_Ref_T; Object : Object_T; Thing_Ref : Thing_Ref_T; Thing : Thing_T; declare Object_Ref := Complicated_Logic_To_Find_An_Access_Type; Object := Object_Ref.all; X := Logic_Not_Dependent_On_The_Address (Object); -- similarly for Thing Y := Logic_Not_Dependent_On_The_Address (Thing); Z := Logic_Not_Dependent_On_The_Addresses (Object, Thing); -- and so on and so on