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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d7b303cc707b3cd4 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!g4g2000hsf.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Universal type Date: Fri, 03 Aug 2007 13:35:05 -0700 Organization: http://groups.google.com Message-ID: <1186173305.970431.205500@g4g2000hsf.googlegroups.com> References: <1186165731.373877.257550@i13g2000prf.googlegroups.com> <1186165860.283741.102790@m37g2000prh.googlegroups.com> <1ahn79bfztaga.35cwalkctrgj$.dlg@40tude.net> NNTP-Posting-Host: 85.3.213.99 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1186173306 1583 127.0.0.1 (3 Aug 2007 20:35:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 3 Aug 2007 20:35:06 +0000 (UTC) In-Reply-To: <1ahn79bfztaga.35cwalkctrgj$.dlg@40tude.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g4g2000hsf.googlegroups.com; posting-host=85.3.213.99; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1355 Date: 2007-08-03T13:35:05-07:00 List-Id: On 3 Sie, 21:10, "Dmitry A. Kazakov" wrote: > What will you do with that list? The "C-way-of-thinking" is regularly criticized here, but interestingly, the "Java-way-of-thinkng" doesn't seem to be much better... ;-) My answer to the above question: Java people added generics and (more or less) typesafe collections for a reason - their initial idea of storing anything in a single collection didn't please even themselves. This should be a hint that maybe Ada (and C++ for that matter) got it right already, so why trying to work around it? -- Maciej Sobczak http://www.msobczak.com/