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:a0c:e751:: with SMTP id g17mr17603061qvn.197.1560704069087; Sun, 16 Jun 2019 09:54:29 -0700 (PDT) X-Received: by 2002:a05:6830:1316:: with SMTP id p22mr12121358otq.329.1560704068832; Sun, 16 Jun 2019 09:54:28 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!j96no3239718qte.0!news-out.google.com!33ni376qtt.0!nntp.google.com!j96no3239713qte.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 16 Jun 2019 09:54:28 -0700 (PDT) In-Reply-To: <4908c3e3-18dc-4953-bf26-46f160d2ebfd@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.108.152.51; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 213.108.152.51 References: <728c4668-8fa0-4a57-a502-2bf476fc3940@googlegroups.com> <4908c3e3-18dc-4953-bf26-46f160d2ebfd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9dcf22a2-2255-4089-b1f0-93e31448415e@googlegroups.com> Subject: Re: Latest suggestion for 202x From: Maciej Sobczak Injection-Date: Sun, 16 Jun 2019 16:54:29 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2094 X-Received-Body-CRC: 1598794701 Xref: reader01.eternal-september.org comp.lang.ada:56648 Date: 2019-06-16T09:54:28-07:00 List-Id: > An array can be easily swapped for a function without requiring major cha= nges all over the place, as array indexing and function calls have the same= syntax. A(I) :=3D 7; Swap(A(I), A(J)); Sort_Subarray(A(1..10)); ... Not really. Arrays are *not* exchangeable with function calls. Therefore, the fact that= they have similar syntax is more a source for confusion than any genuine a= dvantage. Also, the bracketing used is different from any other popular pro= gramming language, which further adds to confusion. Also, it cannot be easi= ly found by text-based tools without complete semantic capability (grep, et= c.). --=20 Maciej Sobczak * http://www.inspirel.com