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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:2f0e:: with SMTP id j14mr1076862itj.14.1547512482453; Mon, 14 Jan 2019 16:34:42 -0800 (PST) X-Received: by 2002:a9d:2c22:: with SMTP id f31mr16269otb.4.1547512482356; Mon, 14 Jan 2019 16:34:42 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!2.eu.feeder.erje.net!4.us.feeder.erje.net!feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!k10no93367itk.0!news-out.google.com!v141ni90ita.0!nntp.google.com!k10no93362itk.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 14 Jan 2019 16:34:42 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.2.29; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.29 References: <167dc83d-daac-49eb-ba79-48866ccde39d@googlegroups.com> <0c56d9f4-8861-4c74-b170-a973e3789b08@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <877016f3-dd1e-4f5a-820d-8151347e9f1d@googlegroups.com> Subject: Re: Overloading operator "=" for anonymous access types? From: Shark8 Injection-Date: Tue, 15 Jan 2019 00:34:42 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55277 Date: 2019-01-14T16:34:42-08:00 List-Id: On Monday, January 14, 2019 at 4:08:36 PM UTC-7, Randy Brukardt wrote: >=20 > As always, best avoid anonymous access types unless you have to use one o= f=20 > their special features (dynamic accessibility, dispatching, special=20 > discriminant accessibility, or closures [for access-to-subprograms]). And= =20 > better still, lets lobby to get those special features optionally availab= le=20 > for named access types so no one every has to use an anonymous anything. = :-) Well, I'm all for getting rid of anonymous access types altogether -- thoug= h that might not be acceptable to the rest of the ARG as it would make prev= iously-valid Ada non-valid, I think reducing the complexity of the language= (and reduce instances of "a rule that barely makes sense anyway"). I thought there was an AI for first class subprograms / subprogram types, b= ut I couldn't find it with a quick search... so either I'm misremembering o= r I'm just hitting all the wrong keywords in the search.