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=unavailable 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 X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.90.20 Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!nntpfeed.proxad.net!news.netfinity.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Suffix _T for types found good Date: Thu, 21 Aug 2008 23:12:01 -0500 Organization: Jacob's private Usenet server Message-ID: References: <2e9ebb23-a68b-43cf-8871-febcb173f951@56g2000hsm.googlegroups.com> <4899d2af$0$19731$4d3efbfe@news.sover.net> <9LmdncTBAPGV5jbVnZ2dnUVZ_sTinZ2d@comcast.com> <37793f2b-2cc6-4aba-856e-cbfe503872a5@v16g2000prc.googlegroups.com> <1xqborx4epefc.11z7g8cmj4nlp.dlg@40tude.net> <2259e1a3-e04c-4662-affb-dae07baa4a43@x16g2000prn.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1219378353 3994 69.95.181.76 (22 Aug 2008 04:12:33 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Fri, 22 Aug 2008 04:12:33 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Xref: g2news2.google.com comp.lang.ada:7475 Date: 2008-08-21T23:12:01-05:00 List-Id: "Adam Beneschan" wrote in message news:2259e1a3-e04c-4662-affb-dae07baa4a43@x16g2000prn.googlegroups.com... ... > Let me try to make myself clearer: If there were a rule change in Ada > so that types (or subtypes) could have the same identifiers as other > entities in the same scope, in many or most cases the compiler could > unambiguously determine from context whether the identifier refers to > the type: Type conversions and array indexing also would be ambiguous: Some_Array : Some_Array; ... Some_Array () ... I think that would be much worse than attributes (they're used a lot more, especially array indexing). Of course, a language supporting that could have used square brackets for indexing (like Pascal), and get rid of that problem. But it won't work in Ada. Randy.