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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7d533acec91ae16 X-Google-Attributes: gid103376,public From: Brian Hanson Subject: Re: Question for the folks who designed Ada95 Date: 1999/04/28 Message-ID: <37278218.ADE17A46@lawson.com>#1/1 X-Deja-AN: 472039339 Content-Transfer-Encoding: 7bit References: <7g2qu4$ca4$1@usenet.rational.com> <7g3b5g$p92$1@nnrp1.dejanews.com> <7g4ae3$hjh2@ftp.kvaerner.com> <3725C49E.8106A44B@aasaa.ofe.org> <7g4mrs$v5n$1@nnrp1.dejanews.com> <7g72rf$hjh3@ftp.kvaerner.com> <7g7g3j$f95$1@nnrp1.dejanews.com> <7g7hbe$gn5$1@nnrp1.dejanews.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@mr.net X-Trace: news.mr.net 925314750 3484 206.145.14.2 (28 Apr 1999 15:52:30 GMT) Organization: Lawson Software Mime-Version: 1.0 NNTP-Posting-Date: 28 Apr 1999 15:52:30 GMT Newsgroups: comp.lang.ada Date: 1999-04-28T15:52:30+00:00 List-Id: Robert A Duff wrote: > Robert Dewar writes: > > > What is missing from this discussion is an argument that > > it is advantageous to distinguish array and function > > references ... Yes, people want [] because they are > > used to it from (some) other languages, but that's a > > very weak argument. > > Function calls can have side effects; array indexing does not. > It seems useful to distinguish those two. Arrays are potentially modifiable, functions are not. giving pure functions =similar to= constant arrays functions with side affects non constant arrays. Should it be usefull to syntatically distinguish between all these. Brian Hanson