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,bf5045b7cee3d4b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: tagged type as generic parameter Date: Fri, 04 Jan 2008 16:03:16 +0100 Organization: Adalog Message-ID: References: <602e79cf-755f-4600-a2cd-0cabf781136a@e25g2000prg.googlegroups.com> <17k6uddmxknzi$.1q1crpca0ygrf.dlg@40tude.net> <837jlf.9p9.ln@hunter.axlog.fr> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1199461777 8093 195.25.228.57 (4 Jan 2008 15:49:37 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 4 Jan 2008 15:49:37 +0000 (UTC) User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:19200 Date: 2008-01-04T16:03:16+01:00 List-Id: Philippe Tarroux a �crit : >> Given the OP's comment that the formal is tagged so that he will be >> able to build lists of the type implies that he comes from a >> background in such a language. > What i wanted is not the "best" way to implement lists. I just wanted to > explore this way. The strong OOP orientation is due to the fact that i > tried this example after a discussion with one of my student arguing > that Ada is too complex compared to Java. I wanted to explore '� la > Java' solutions. Of course, '� la Java' solutions coded in Ada will always be disadvantaged; the converse is also true. When discussing language complexity, I think you should start from a real problem (without overspecification!), code it in each language following each language's philosophy, and compare the result. Everything else is biased. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr