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 10.13.212.12 with SMTP id w12mr1972413ywd.147.1504715884011; Wed, 06 Sep 2017 09:38:04 -0700 (PDT) X-Received: by 10.36.51.147 with SMTP id k141mr18563itk.14.1504715883958; Wed, 06 Sep 2017 09:38:03 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!2.eu.feeder.erje.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!q8no241408qtb.0!news-out.google.com!c139ni502itb.0!nntp.google.com!127no414642itw.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 6 Sep 2017 09:38:03 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=185.30.132.97; posting-account=hya6vwoAAADTA0O27Aq3u6Su3lQKpSMz NNTP-Posting-Host: 185.30.132.97 References: <4dc188de-802b-41ad-9cdd-b8246eb9a1c7@googlegroups.com> <47cc6474-8b75-4644-92d0-bd1f694c20e7@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7d014624-d143-4564-abfa-802534693644@googlegroups.com> Subject: Re: Community Input for the Maintenance and Revision of the Ada Programming Language From: Vincent DIEMUNSCH Injection-Date: Wed, 06 Sep 2017 16:38:03 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47951 Date: 2017-09-06T09:38:03-07:00 List-Id: Le samedi 2 septembre 2017 19:08:48 UTC+2, Jeffrey R. Carter a =C3=A9crit= =C2=A0: > On 09/02/2017 12:49 PM, Vincent DIEMUNSCH wrote: > > A(+i) simply means A(A'First +i). >=20 > What would A(+Red) mean? Indices don't have to be numeric. But an array index needs to be isomorphic to an Integer. It's an array ! No= t a dictionnary, or a hash table.=20 > A(+I) is already defined for numeric I. This would not be backward compat= ible,=20 > so it's very unlikely to happen. Sure, it is not fully backward compatible. But by the way, only the absence= of any evolution is 100% backward compatible, isn't it ? > The only possible reason for your proposal is to save a few keystrokes. No. It was realy to improve readability by having a shorter and more elegan= t syntax. But that was a misatke, I recognize :-). Square brackets as Dimit= ry proposed are much better !=20 > "If you want fewer keystrokes, use APL." :-). Ok, but the argument, always used to defend the verbose syntax of Ada,= is a little bit weak, because we use high level languages precisely to wri= te less code ! Regards, Vincent