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,52fd60a337c05842 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-18 11:52:23 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!uunet!dca.uu.net!ash.uu.net!world!news From: Robert A Duff Subject: Re: ada paper critic Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Tue, 18 Jun 2002 18:51:32 GMT References: <3D0A399C.EF6F1BD9@acm.org> <3D0B4CCC.7010104@telepath.com> NNTP-Posting-Host: shell01.theworld.com Organization: The World Public Access UNIX, Brookline, MA X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:26277 Date: 2002-06-18T18:51:32+00:00 List-Id: Brian Rogoff writes: > On Mon, 17 Jun 2002, Marin David Condic wrote: > > Maybe in theory its better for Ada to have "A [X]" and "F (X)" syntax. Maybe > > in theory its worse. But it sure seems like if this is in any way a wart - > > its a *really* small one. > > I find it harder to read Ada code because of this decision. Not a lot > harder, but harder. It makes the compiler a little bit more complicated, too. Not only do calls and array indexing use the same notation, but plan old variable names use the same notation as parameterless calls. It's interesting that in this: function F(X: Integer := 10) return String; C: Character := F(3); The "(...)" notation indicates array indexing, not function calling. - Bob