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 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Michael B." Newsgroups: comp.lang.ada Subject: Re: Access parameters and accessibility Date: Mon, 15 Dec 2014 21:23:02 +0100 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: BqpAJ1JIlnYOjC0BsGFoBg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:24021 Date: 2014-12-15T21:23:02+01:00 List-Id: I don't want to use this stuff for my own code. My problem is that I want to understand object orientation in Ada. And this seems to be impossible without a complete understanding of access types in all flavors. The OO chapters in Barnes' book assume that you have a deep understanding of access types. I don't. And therefore I'm stuck. So would you please help me to understand this paragraph? Regards Michael On 12/15/14 19:48, Jeffrey Carter wrote: > On 12/15/2014 10:54 AM, Dmitry A. Kazakov wrote: >> >> The rule is: don't ever use this. > > I second this. > > Anonymous access types, of which access parameters are instances, are a bad > idea. The language would be better off without them. > > Public access types, and public subprograms with parameters of access types, are > also bad ideas. >