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-Thread: 103376,c406e0c4a6eb74ed X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: ADA Popularity Discussion Request Date: Fri, 3 Sep 2004 18:51:52 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <49dc98cf.0408110556.18ae7df@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1094237512 3156 134.91.1.34 (3 Sep 2004 18:51:52 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 3 Sep 2004 18:51:52 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:3305 Date: 2004-09-03T18:51:52+00:00 List-Id: Kevin Cline wrote: : No doubt that Ada has fabulous support for integer-indexed arrays. (and name-indexed arrays :-) : In 25 years of : programming I have seen about 17,000 implementations of linear search : and 5,000 implementations of sorted insertion, almost all of which : could and should have been eliminated by using an associative : container of some sort. OK : By providing extensive facilities for array-based programming while : ignoring all other data structures, Ada leads most programmers to do : the wrong thing, and frustrates most of the remainder. Well, ignoring... the next Ada will have vectors, sets, tables, lists, and then some, such that more (queues, ...) can be built on top of them, by default, and standardised. AFAIKT the specifications are influenced by experience with libraries in at least Ada and STL. So if programmers have been using arrays for things that arent't arrays, there must be a problem other than availability of data structure libraries? A general lack of awareness of how ADTs work? Maybe, if the situation is really that bad, the standardised components will ameliorate Ada programming WRT proper data structures. -- Georg