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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1116ece181be1aea X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-16 00:53:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Is the Writing on the Wall for Ada? Date: Tue, 16 Sep 2003 09:48:11 +0200 Message-ID: <3pfdmv8020o805bmlpddlav1iiubgqpulr@4ax.com> References: <3F5F7FDC.30500@attbi.com> <3F6079A9.6080108@attbi.com> <3F60E380.4020307@attbi.com> <3F65ED07.116@mail.ru> NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1063698018 27248065 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:42561 Date: 2003-09-16T09:48:11+02:00 List-Id: On Mon, 15 Sep 2003 20:47:03 +0400, Dmytry Lavrov wrote: >IMO,if there are difference between inheritance and having class inside >other class(so called delegation),it's problem of bad language design. How so? It is an implementation detail. Inheritance means that you re-use something from the base type. This does not imply that you have to re-use everything, including the representation of the base. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de