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:a05:6214:da7:: with SMTP id h7mr14405432qvh.48.1619000516829; Wed, 21 Apr 2021 03:21:56 -0700 (PDT) X-Received: by 2002:a25:dfd0:: with SMTP id w199mr30709587ybg.92.1619000516683; Wed, 21 Apr 2021 03:21:56 -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:21:56 -0700 (PDT) In-Reply-To: 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> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4205785c-6818-4e26-b931-5a775e2c426cn@googlegroups.com> Subject: Re: Unchecked_Deallocation with tagged types From: Vincent Marciante Injection-Date: Wed, 21 Apr 2021 10:21:56 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61882 List-Id: 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.