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!.POSTED!not-for-mail From: G. B. Newsgroups: comp.lang.ada Subject: Re: little precision about anonymous access types Date: Tue, 20 Mar 2018 17:49:37 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 20 Mar 2018 17:49:37 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3e4f17cbfe7164b8063118898b096d46"; logging-data="14468"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xzLv1U5nnCtG9PwRQr0TuljZviMg5+IM=" User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch) Cancel-Lock: sha1:zId1FTas1Ru+Z/sCDY2r/Q9roXM= sha1:4evdcROQuGBdGy449miiYy2qC8M= Xref: reader02.eternal-september.org comp.lang.ada:51085 Date: 2018-03-20T17:49:37+00:00 List-Id: Randy Brukardt wrote: > "Mehdi Saada" <00120260a@gmail.com> wrote in message > news:edf7b96a-f340-408c-994f-d5aa73b9f2db@googlegroups.com... >> I have a little question about (anonymous) access types: > > There are several different kinds of anonymous access types, all with > different semantics in details. The best possible advice is to not use them > at all, since they're more likely to be confusing than useful. If you follow > that advice, you don't have to worry about differing details. :-) Seen from a business perspective, judicious use of unnamed entities creates opportunities of specialization. If you know names, but do not tell them, then by way of leveraging anonymous entities and their “correct” use, you might hope to reap the benefits of Rumpelstilskin economics... Anonymous types might work until some business person decides he has had enough of the special, costly treatment that they require.