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: fdb77,5f529c91be2ac930 X-Google-Attributes: gidfdb77,public X-Google-Thread: 103376,583275b6950bf4e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-27 09:21:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com.MISMATCH!newsfeed!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.java.advocacy,comp.lang.ada Subject: Re: the Ada mandate, and why it collapsed and died (was): 64 bit addressing and OOP Date: 27 Apr 2003 12:21:33 -0400 Organization: The World Public Access UNIX, Brookline, MA 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: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1051460495 8077 199.172.62.241 (27 Apr 2003 16:21:35 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 27 Apr 2003 16:21:35 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.java.advocacy:62776 comp.lang.ada:36649 Date: 2003-04-27T12:21:33-04:00 List-Id: Dr Chaos writes: > 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". Sorry; I know nothing of MATLAB. Perhaps you could give an example of why array slicing (as an L-value!) is so useful. I don't doubt that it is (in MATLAB and Fortran). > And it's in Fortran 90/95, for similar reasons. Well, Fortran's array-slicing capabilities are more powerful than Ada's. My comment that slicing-as-L-value is a frill was specific to Ada. >...Note that F90 was > designed after Ada. The latest version of Ada was designed in the period 1990 to 1995 or so. I would think F90 is roughly the same vintage. > Getting arrays right definitely helps lower bugs, because > off-by-one counting in iteration are frequent source of > errors. Indeed. - Bob P.S. Sorry, I'm disobeying your followup-to. I'm reading this in comp.lang.ada, and would otherwise never see replies.