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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: Anonymous Access and Accessibility Levels Date: Fri, 26 Apr 2019 19:12:41 +0200 Organization: A noiseless patient Spider Message-ID: References: Reply-To: nonlegitur@notmyhomepage.de Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 26 Apr 2019 17:12:42 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="f04cc9f2949c5246c920a37dde25dbc2"; logging-data="11345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182jA3tFRwiVvegQWV4wcnSYETlTPfgfHI=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 Cancel-Lock: sha1:ZRN4XIh5IcKCGmVZTZI70bBdafk= In-Reply-To: Content-Language: de-DE Xref: reader01.eternal-september.org comp.lang.ada:56192 Date: 2019-04-26T19:12:41+02:00 List-Id: On 24.04.19 12:42, Jere wrote: > I'm definitely aware of the HoD and its reputation. I am a bit > discourage that there is not any resource (person or written) > available to help newcomers (or heck even somewhat experienced > Ada programmers) with issues like these. It might be too late when designs involving anonymous access types become issues, but then any design can possibly have fewer issues if the Ada Rationale is first consulted. I'm concluding this in part observing designs of programmers who have chosen to transport a pointer-based mind set to Ada. This means, they are perhaps not aware of the Rationale. As an additional consequence, if GNAT advises to use pointer types, programmers may not always be given the best advice from a design point of view, only from a compiler that cannot undo designs.