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:a05:620a:5ad:: with SMTP id q13mr35042261qkq.154.1560778503849; Mon, 17 Jun 2019 06:35:03 -0700 (PDT) X-Received: by 2002:a9d:39a6:: with SMTP id y35mr15624238otb.81.1560778503644; Mon, 17 Jun 2019 06:35:03 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!j96no4045300qte.0!news-out.google.com!33ni499qtt.0!nntp.google.com!j96no4045293qte.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 17 Jun 2019 06:35:03 -0700 (PDT) In-Reply-To: <86h88obeu0.fsf@gaheris.avalon.lan> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.9.245.17; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 194.9.245.17 References: <728c4668-8fa0-4a57-a502-2bf476fc3940@googlegroups.com> <4908c3e3-18dc-4953-bf26-46f160d2ebfd@googlegroups.com> <9dcf22a2-2255-4089-b1f0-93e31448415e@googlegroups.com> <86h88obeu0.fsf@gaheris.avalon.lan> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <39e749cd-de5c-44fa-b8ec-50d36f3bd52c@googlegroups.com> Subject: Re: Latest suggestion for 202x From: Maciej Sobczak Injection-Date: Mon, 17 Jun 2019 13:35:03 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:56661 Date: 2019-06-17T06:35:03-07:00 List-Id: > Conceptually, an array indexing operation *is* a function call. There are two basic aggregate data structures in software engineering: arrays and records. Both have elements, which have to be selected from the whole object. In both cases the selection operation is a mapping - hence, a function. It is interesting to see how much energy is spent on defending the idea that array indexing *must* have the function-call syntax, and yet nobody has a problem with record field accesses. But hey, name lookup within packages is also a mapping. So are conditional expressions, both If/Then and Case forms. Yet, it's convenient to claim that Ada is consistent and readable, because it has round brackets for array indexing? -- Maciej Sobczak * http://www.inspirel.com