From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Equivalence between named access and anonymous access. Date: Thu, 7 Sep 2023 18:18:11 +0200 Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 7 Sep 2023 16:18:11 -0000 (UTC) Injection-Info: dont-email.me; posting-host="b97c7f9cd77bb8f7702f299c14add81e"; logging-data="3211276"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nQxbQ2rnYlJ0sn53QIKk9gUOIAucenU0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Cancel-Lock: sha1:IuxOeepBPLKBuFL/RXcHG25qGTM= Content-Language: en-US In-Reply-To: Xref: news.eternal-september.org comp.lang.ada:65615 List-Id: On 2023-09-07 18:06, Blady wrote: > > Why choosing named access for New_BorderLayout and anonymous access for > AddLayoutComponent or GetLayoutComponent for the type of parameters P1_xxx and > the return type? It's very poor design to have access types in the visible part of a non-private pkg spec. -- Jeff Carter "This language [Ada] has a remarkable power of expressiveness, something vital to the rapid development of complicated software, and its 'strong typing' makes it easy to debug and modify." Scott and Bagheri 160