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-Thread: 103376,95e71dd4ab1859a5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: A novel design of linked lists Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1erhzx6bo87fc.lzgqxpirn16r.dlg@40tude.net> <4510723B.8040303@nowhere.com> Date: Wed, 20 Sep 2006 10:44:31 +0200 Message-ID: <5r3yebdje7ab.1aha6uewbma0r.dlg@40tude.net> NNTP-Posting-Date: 20 Sep 2006 10:44:31 CEST NNTP-Posting-Host: 70225a9b.newsspool3.arcor-online.net X-Trace: DXC=Y5kPEi]bZUi9kIfcjg:0fdMcF=Q^Z^V3h4Fo<]lROoRa4nDHegD_]ReGdjX4nQf=5gDNcfSJ;bb[eFCTGGVUmh?dN\HXHJ4e80n<4NE3fAd1Mn X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6683 Date: 2006-09-20T10:44:31+02:00 List-Id: On Wed, 20 Sep 2006 00:42:03 +0200, Leif Holmgren wrote: > Dmitry A. Kazakov wrote: >> >> 1. The variant with inheritance is not an option in current Ada, because of >> ... >> >> 2. The variant with pointers is not a solution at all, because, honestly, >> ... > > 3. Generics There is no generic types in Ada. Then, essentially, genericity does not provide any types composition. So here generic could only mean parametrization of some non-generic type composition: - extension by inheritance (that was 1) - indirection (that was 2) There also is aggregation which wasn't mentioned for obvious reasons. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de