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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.141.4 with SMTP id k4mr1192882bku.6.1335520002619; Fri, 27 Apr 2012 02:46:42 -0700 (PDT) Path: h15ni171049bkw.0!nntp.google.com!news1.google.com!goblin2!goblin1!goblin.stu.neva.ru!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Fri, 27 Apr 2012 11:46:24 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <9af5eaaa-1c48-4455-a8e8-39dd9ee8092d@ot8g2000pbb.googlegroups.com> <3324774.1793.1335453581565.JavaMail.geo-discussion-forums@yncc41> <21303184.864.1335494280519.JavaMail.geo-discussion-forums@pbgg10> <4f9a543a$0$6563$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Message-ID: <4f9a6af0$0$6566$9b4e6d93@newsspool3.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Apr 2012 11:46:24 CEST NNTP-Posting-Host: e3c213d2.newsspool3.arcor-online.net X-Trace: DXC=ZeXfNOJRjW885[]]\]T081McF=Q^Z^V384Fo<]lROoR18kF:Lh>_cHTX3j=gUT<1TG2;\> X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-04-27T11:46:24+02:00 List-Id: On 27.04.12 10:19, Dmitry A. Kazakov wrote: > On Fri, 27 Apr 2012 10:09:31 +0200, Georg Bauhaus wrote: > >> On 27.04.12 04:38, ytomino wrote: >> >>> And, some languages such as C# has tackled the problem that a base-class >>> is changed independently of derived-classes. >> >> Implying, maybe, that inheritance of classes may not be the >> best way to write reusable modules? > > and the best way is? Starting from at least one important distinction: - is-a inheritance used where - has-a should have been used. then, not answering by giving "the best", or even "an optimal" way, not even saying that interfaces have no uses, just pointing out that all O-O language seem to have, after some time, discovered that systems get "better" when they use call-back style objects, or delegate objects (these would then implement a interface). Another hint at a possibly non-best way is the STL.