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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37ce17cd381efa19 X-Google-Attributes: gid103376,public From: Jon S Anthony Subject: Re: Importance of Polymorphism Date: 1998/02/12 Message-ID: #1/1 X-Deja-AN: 324610823 Distribution: world References: <01bd363d$4b0ba040$LocalHost@xhv46.dial.pipex.com> Organization: PSINet Newsgroups: comp.lang.ada Date: 1998-02-12T00:00:00+00:00 List-Id: Brian Rogoff writes: > On 10 Feb 1998, Jon S Anthony wrote: > > Yes, exactly. However, inheritance per se' is probably the root of > > all the "disadvantage" here, not so much simply dynamic dispatch. > > Another way of saying this is that (class) inheritance based dd is > > where such problems arise (with the attendant benefits of that > > abstraction as well). > > What else do you have in mind? Delegation is even more > "spaghetti-like" as far as I can tell, though it also has > advantages. Actually, I wasn't comparing CB dd for better/worse with any comparable capability thing. But dd is an orthogonal issue from the problems of inheritance (what comes from where, etc.) /Jon -- Jon Anthony Synquiry Technologies, Ltd., Belmont, MA 02178, 617.484.3383 "Nightmares - Ha! The way my life's been going lately, Who'd notice?" -- Londo Mollari