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: 1108a1,59ec73856b699922 X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-Thread: fdb77,5f529c91be2ac930 X-Google-Attributes: gidfdb77,public X-Google-ArrivalTime: 2003-04-22 18:41:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.cc.utah.edu!dog.ee.lbl.gov!ihnp4.ucsd.edu!news.ucsd.edu!not-for-mail From: Dr Chaos Newsgroups: comp.lang.java.advocacy,comp.object,comp.lang.ada Subject: Re: the Ada mandate, and why it collapsed and died (was): 64 bit addressing and OOP Followup-To: comp.lang.java.advocacy Date: Wed, 23 Apr 2003 01:41:50 +0000 (UTC) Organization: Univ of Calif San Diego Message-ID: References: <3E4E8F8C.9C096985@adaworks.com> <9fa75d42.0302250710.5549baaf@posting.google.com> <3E5C7033.BD5DC462@adaworks.com> <9fa75d42.0302260618.7506cba7@posting.google.com> <3E5CF5C6.84822F57@adaworks.com> <8qkczsAcGcn+Ew83@nildram.co.uk> <3EA04A1E.CAFC1FEF@adaworks.com> <9fa75d42.0304221126.7112b7d5@posting.google.com> NNTP-Posting-Host: lyapunov.ucsd.edu X-Trace: news1.ucsd.edu 1051062110 23563 132.239.222.85 (23 Apr 2003 01:41:50 GMT) X-Complaints-To: usenet@news1.ucsd.edu NNTP-Posting-Date: Wed, 23 Apr 2003 01:41:50 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.java.advocacy:62523 comp.object:61628 comp.lang.ada:36389 Date: 2003-04-23T01:41:50+00:00 List-Id: Robert A Duff wrote: > "Chad R. Meiners" writes: >> Array slicing is a wonderfully useful feature. I use this feature in almost >> every program of mine. > > Really!? I think of array slicing as a pretty minor feature of Ada, > which causes a lot of trouble for compiler writers, that could be > dispensed with. After all, you could write a function that grabs those > components. > I'm thinking particularly of slices as L-values. Do you ever use that? Ask everybody who likes MATLAB: in other words "yes". And it's in Fortran 90/95, for similar reasons. Note that F90 was designed after Ada. Getting arrays right definitely helps lower bugs, because off-by-one counting in iteration are frequent source of errors. > - Bob