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: fac41,c52c30d32b866eae X-Google-Attributes: gidfac41,public X-Google-Thread: 1108a1,c52c30d32b866eae X-Google-Attributes: gid1108a1,public X-Google-Thread: 103376,2ea02452876a15e1 X-Google-Attributes: gid103376,public From: Bob Hathaway Subject: Re: Real OO Date: 1996/04/20 Message-ID: #1/1 X-Deja-AN: 150431290 sender: news@midway.uchicago.edu (News Administrator) x-nntp-posting-host: ford.uchicago.edu references: <4l92n3$1g6@gaia.ns.utk.edu> organization: Geodesic Systems newsgroups: comp.lang.ada,comp.lang.eiffel,comp.object Date: 1996-04-20T00:00:00+00:00 List-Id: In article <4l92n3$1g6@gaia.ns.utk.edu>, Matt Kennel wrote: >>... >... >I'm an Eiffel fan but I'd disagree here. "polymorphism" is not like alms >for the poor. Per se more 'polymorphism' doesn't mean 'better', it just >means 'more polymorphism'. I have to disagree. Having used multiple-polymorphism in a class-based language I have found it to be far more powerful. I haven't been following this thread and its been a long time since I've programmed in Ada (before 9x), so could some kind sole remind me if class wide types are essentially true types, meaning that the true types of arguments are not lost, for future calls for instance. I seem to recall class wide types are not lost and multiple-polymorphism is provided in this case, at least for the class-wide parameter types. Take a look at my quick but hopefully convincing argument for a true type system and multiple-polymorphism in http://www.sigs.com/objectcurrents, issue 3 (I think) on True Types And Multiple Polymorphism as it presents my argument on this issue. I see single-polymorphism as a static efficiency measure or for an approach to enforcing strong static typechecking (although it's certainly not the only one) and part of the object message paradigm which I see as best for MP too, at least for objects. I welcome comments. Best Regards! Bob