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: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!transit4.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Date: Wed, 20 Aug 2008 21:46:48 -0400 From: "Peter C. Chapin" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Suffix _T for types found good 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> In-Reply-To: <2259e1a3-e04c-4662-affb-dae07baa4a43@x16g2000prn.googlegroups.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <48acc905$0$24589$4d3efbfe@news.sover.net> Organization: SoVerNet (sover.net) NNTP-Posting-Host: 9dc7164d.news.sover.net X-Trace: DXC=?inHMIh7ejR6KTSWD=W;1_K6_LM2JZB_S1LC`=D1]@T_3?@`i3kGa5[jc9B\hlHdl_E]fS4Z;5JT_ X-Complaints-To: abuse@sover.net X-Original-Bytes: 1998 Xref: g2news2.google.com comp.lang.ada:7429 Date: 2008-08-20T21:46:48-04:00 List-Id: Adam Beneschan wrote: > XYZ : Some_Type; > type XYZ is array (1..10) of Some_Other_Type; > An_Object : XYZ; > > In this last line, it's clear that only the type declaration could be > meant by XYZ. I'm not sure allowing such a thing, even if were possible, would be a good idea. Types and instances are conceptually quite different and allowing them to reuse the same name (in the same scope) sounds confusing. After all, a set of integers is different than any particular integer and I don't want to loose sight of that when I'm looking at my code. Peter