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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,73175d2d01a1b1dd X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.38.38 with SMTP id d6mr8086419pbk.4.1317753618069; Tue, 04 Oct 2011 11:40:18 -0700 (PDT) Path: lh7ni11507pbb.0!nntp.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!newshosting.com!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!nuzba.szn.dk!pnx.dk!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: subprogram must not be deeper than access type Date: Tue, 04 Oct 2011 11:40:06 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <818752663338654817.822041rmhost.bauhaus-maps.arcor.de@news.arcor.de> NNTP-Posting-Host: eebe3395b4e876dd175969b75d9d7dd3 Mime-Version: 1.0 X-Trace: 57315b456dbe464920e180543275ad26 X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=57315b456dbe464920e180543275ad26 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: news1.google.com comp.lang.ada:18299 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: 2011-10-04T11:40:06-07:00 List-Id: On 10/03/2011 09:30 PM, Yannick DuchĂȘne (Hibou57) wrote: > Le Mon, 26 Sep 2011 20:59:55 +0200, Jeffrey Carter >> >> I think anonymous types are the language design flaw. > > There were introduced for the need of anonymous access type to subprograms, but > 1) were applied to objects in the while 2) there were probably alternatives (as > the mentioned rational recognized). So, may be you are right. I confess I don't > really enjoy anonymous access type too. Ada always had anonymous array types: V : array (1 .. 10) of Duration; Anonymous access types in the form of access parameters were introduced in Ada 95, to make passing a pointer to an imported function from C (or similar languages) easier. Never mind that a named convention-C access type did the job just fine. More recently, we've been treated to a whole slew of kinds of anonymous access types, apparently to make C-in-Ada easier to write. -- Jeff Carter "I was hobbling along, minding my own business, all of a sudden, up he comes, cures me! One minute I'm a leper with a trade, next minute my livelihood's gone! Not so much as a 'by your leave!' You're cured, mate. Bloody do-gooder!" Monty Python's Life of Brian 76