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,e1d728aa632a5b94 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.228.227 with SMTP id sl3mr18098070pbc.5.1341735060056; Sun, 08 Jul 2012 01:11:00 -0700 (PDT) Path: l9ni11158pbj.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Gnat: broken dispatch tables for interface types ? Date: Sun, 8 Jul 2012 10:10:58 +0200 Organization: cbb software GmbH Message-ID: References: <19yhfqeqkm9kc$.fcax7yetctwy$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 9A8bJrx4NhDLcSmbrb6AdA.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-07-08T10:10:58+02:00 List-Id: On Sun, 08 Jul 2012 00:38:05 -0700, Jeffrey Carter wrote: >> On Sat, 7 Jul 2012 20:02:36 -0700 (PDT), rodakay@internode.on.net wrote: >> >> Has anyone had any success with interface types ? > > According to Randy Brukardt, ARG member and editor of the ARM, "Interfaces are > worthless." Yes, if he meant that interface is nothing but abstract tagged null record plus some silly restrictions. No, if he meant an ability to codify the interface of a type, multiple inheritance, interface inheritance, generic programming. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de