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: 103376,1b41412c7bc28c47 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!v16g2000prc.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Suffix _T for types found good Date: Wed, 20 Aug 2008 07:25:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: <37793f2b-2cc6-4aba-856e-cbfe503872a5@v16g2000prc.googlegroups.com> References: <2e9ebb23-a68b-43cf-8871-febcb173f951@56g2000hsm.googlegroups.com> <4899d2af$0$19731$4d3efbfe@news.sover.net> <9LmdncTBAPGV5jbVnZ2dnUVZ_sTinZ2d@comcast.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1219242312 5009 127.0.0.1 (20 Aug 2008 14:25:12 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Aug 2008 14:25:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v16g2000prc.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:1677 Date: 2008-08-20T07:25:12-07:00 List-Id: On Aug 20, 4:59 am, Stephen Leake wrote: > "Steve" writes: > >>"Martin" wrote in message > > >>I've used (and mandated) the "A_"/"An_" prefixes on a few projects and > >>it does work quite well and read fine. > > >>I'll put my hand up and admit I _hate_ the noise of "_Type" - it > >>really ought to be clear and unambiguous from language rules but > >>isn't. :-( > > > Actually I think it is clear from the language rules, but... > > Huh? The problem is that the language rules forbid this: > > Buffer : Buffer; > > That is what we would _like_ the language to allow. Yeah, earlier on in this thread I was thinking about whether it would have been possible for Ada to have separate namespaces for types and other non-type entities without ambiguities. Attributes make this impossible. Offhand, I'm not sure whether context is always sufficient to distinguish types from non-types, other than with attributes. Not that any of this is particularly relevant, except to those who might be thinking of designing new languages.... -- Adam