From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:ac8:4d03:: with SMTP id w3mr15599115qtv.222.1619000938879; Wed, 21 Apr 2021 03:28:58 -0700 (PDT) X-Received: by 2002:a25:1883:: with SMTP id 125mr30451961yby.465.1619000938705; Wed, 21 Apr 2021 03:28:58 -0700 (PDT) Path: eternal-september.org!reader02.eternal-september.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 21 Apr 2021 03:28:58 -0700 (PDT) In-Reply-To: <4205785c-6818-4e26-b931-5a775e2c426cn@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=35.245.252.196; posting-account=XfA3zgkAAABoz6fRf3Tehtnqqr7Ycml- NNTP-Posting-Host: 35.245.252.196 References: <607b56f8$0$3721$426a34cc@news.free.fr> <607bf826$0$3733$426a74cc@news.free.fr> <86im4hj6eh.fsf@stephe-leake.org> <827fce15-8277-4ec8-a627-01158b42a191n@googlegroups.com> <4205785c-6818-4e26-b931-5a775e2c426cn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <728b554d-75b5-49cd-8a10-c06332e5d959n@googlegroups.com> Subject: Re: Unchecked_Deallocation with tagged types From: Vincent Marciante Injection-Date: Wed, 21 Apr 2021 10:28:58 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61883 List-Id: On Wednesday, April 21, 2021 at 6:21:57 AM UTC-4, Vincent Marciante wrote: > On Tuesday, April 20, 2021 at 4:57:00 PM UTC-4, Jeffrey R. Carter wrote: > > On 4/20/21 7:34 PM, Vincent Marciante wrote: > > > > > > Lists.List > > > > My objection is that this says the same thing twice (hence my joke about adding > > more variants of "List" to it). "This is a list, and by the way, this is a > > list." To me, Lists.Handle says, "This is something that lets you manipulate a > > hidden implementation of lists." > > > > But the most important thing, I think, is that you've thought about naming ... > > But that idiom pretty much prohibits "using" more than one package with such naming: > > use Queues, Lists; > > Queue : Handle; --\ Both > List : Handle; --/ ambiguous > > vs. > > Command_Queue : Queue; > Parameter_List : List; > > I guess the issue is similar the past discussions on idiomatically naming > all tagged types Object. Ha! Guess one would just write: Queue :Queues. Handle List :Lists. HandleUltimately, unless something is just too wordy it is just a matter of personal taste: Queue : Pack_Queues_Package.T_Queue_Handle_Type: --Bad!