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: f5d71,304c86061dc69dba X-Google-Attributes: gidf5d71,public X-Google-Thread: 103376,5cb36983754f64da X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,304c86061dc69dba X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,304c86061dc69dba X-Google-Attributes: gid1014db,public X-Google-ArrivalTime: 2004-02-08 08:20:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed1.news.rcn.net!rcn!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!peer01.cox.net!cox.net!p01!lakeread02.POSTED!not-for-mail From: Josh Sebastian Subject: Re: No call for Ada (was Re: Announcing new scripting/prototyping language) User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java References: <20040206174017.7E84F4C4114@lovelace.ada-france.org> <54759e7e.0402071124.322ea376@posting.google.com> <2460735.u7KiuvdgQP@linux1.krischik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Sun, 08 Feb 2004 11:20:17 -0500 NNTP-Posting-Host: 68.96.215.227 X-Complaints-To: abuse@cox.net X-Trace: lakeread02 1076257217 68.96.215.227 (Sun, 08 Feb 2004 11:20:17 EST) NNTP-Posting-Date: Sun, 08 Feb 2004 11:20:17 EST Organization: Cox Communications Xref: archiver1.google.com comp.lang.ada:5342 comp.lang.c:21163 comp.lang.c++:18139 comp.lang.java:2771 Date: 2004-02-08T11:20:17-05:00 List-Id: On Sun, 08 Feb 2004 14:05:53 +0100, Martin Krischik wrote: > MSG wrote: > >> Can you do the following in Ada: >> >> 1. Write *one* bubble-sort function that will work on different >> types given an appropriate comparison function > > Shure you can. Ada invented templates long bevore C++ was even though of. Factoid: Alex Stepanov started off his research that led to the STL in Ada. > Ada templates are far more powerfull then C++. Why do you say that? I haven't used Ada terribly much, but from what I remember, I don't think Ada generics are Turing-complete, which C++ templates are. Josh