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,103b407e8b68350b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-28 08:30:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Anybody in US using ADA ? One silly idea.. Date: Tue, 28 Jan 2003 17:29:44 +0100 Message-ID: <2hbd3vs44v7q0tu2d6pmgdqrhl8nvvr21e@4ax.com> References: <1043339266.922562@master.nyc.kbcfp.com> <7iLY9.2401$qb1.464@nwrddc01.gnilink.net> <1043680098.61106@master.nyc.kbcfp.com> <3afc3v4uur2kvd53v4ul18b5npjfm188o3@4ax.com> 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: fu-berlin.de 1043771384 33197208 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:33495 Date: 2003-01-28T17:29:44+01:00 List-Id: On 28 Jan 2003 07:48:37 -0800, kcline17@hotmail.com (Kevin Cline) wrote: >Dmitry A. Kazakov wrote in message news:<3afc3v4uur2kvd53v4ul18b5npjfm188o3@4ax.com>... > >> But that's another thing. Here, Circle cannot use (inherit) the >> methods of Ellipse. It inherits only the abstract methods of >> EliipseInterface and thus, have to implement all of them for scratch. >> This kills the whole idea of inheritance for code reuse. > >I thought that idea was dead many years ago, when it was discovered >that failure to separate interface and implementation leads to a mess. Why do you think that making related types [Ellipse and Circle] siblings (i.e. in fact unrelated) should provide the separation? --- Regards, Dmitry Kazakov www.dmitry-kazakov.de