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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ae67f75abbc71211 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-24 19:14:22 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!204.71.34.15!news-out.cwix.com!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!cyclone.socal.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!typhoon.san.rr.com!not-for-mail Message-ID: <3C79AC16.D9F7B084@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Why not using [] instead of () for array? References: <9ff447f2.0202241719.446bf17b@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 25 Feb 2002 03:14:36 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 1014606876 66.75.151.160 (Sun, 24 Feb 2002 19:14:36 PST) NNTP-Posting-Date: Sun, 24 Feb 2002 19:14:36 PST Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:20342 Date: 2002-02-25T03:14:36+00:00 List-Id: Larry Kilgallen wrote: > My understanding is that function parameters and array indices are > intentionally encoded with the same bracketing types to allow one > to be substituted for another in a subsequent version of a program. This would seem strange to me, given how explicit people seem to want Ada to be. Surely if "use" is in any sense "unsafe", then confusing an array and a function would be equally ... well, confusing? -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. To the user, everything works just as expected, assuming the user's expectations are correct.