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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,304c86061dc69dba X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,304c86061dc69dba X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,5cb36983754f64da X-Google-Attributes: gid103376,public X-Google-Thread: f5d71,304c86061dc69dba X-Google-Attributes: gidf5d71,public X-Google-ArrivalTime: 2004-02-08 10:22:19 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java Subject: Re: No call for Ada (was Re: Announcing new scripting/prototyping language) Date: Sun, 08 Feb 2004 19:02:02 +0100 Organization: AdaCL Message-ID: <1806342.U8nlC1YBRp@linux1.krischik.com> References: <20040206174017.7E84F4C4114@lovelace.ada-france.org> <54759e7e.0402071124.322ea376@posting.google.com> <2460735.u7KiuvdgQP@linux1.krischik.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1076264494 06 13461 eLCHGfK1-M018xI 040208 18:21:34 X-Complaints-To: usenet-abuse@t-online.de X-ID: GFibtQZV8e5Q-X3HODXe-b96scWzpmFVu76m0TwH8AWhgZ8mEUu86c User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:5343 comp.lang.c:21185 comp.lang.c++:18155 comp.lang.java:2775 Date: 2004-02-08T19:02:02+01:00 List-Id: Josh Sebastian wrote: > 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. I am not quite shure what you want to say. As far as I know generics had been part of Ada 83. But of course without some STL. >> 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. Well I have used C++ for 10 years and Ada for just 1 year - I can express my will better with Ada generics then with C++ templates. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com