From: "QUEISSER,ANDREW (HP-Corvallis,ex1)" Date: 2002-04-04T01:59:04+09:00 Subject: RE: Mixins vs. Multiple Inheritance My experience with MI in C++ is that 99% of the time I use it as mixin, meaning that the same thing could be accomplished in Ruby or, to a lesser degree, in Java. Also keep in mind that you need MI in statically typed languages like C++ where mixin or similar does the job in dynamically or untyped (or whatever we call it) languages like Ruby. Where I need to inherit a base class in C++ it may be enough to add a couple of methods to a Ruby class. Andrew > -----Original Message----- > From: Bob Hutchison [mailto:hutch@recursive.ca] > Sent: Wednesday, April 03, 2002 8:19 AM > To: ruby-talk@ruby-lang.org > Subject: Re: Mixins vs. Multiple Inheritance > > > > That's it? That's good to hear! This is basically what I've > come to assume > recently, but every now and again I get a twinge of a > what-am-I-missing kind > of feeling. > > Thanks, > Bob > > On 4/3/02 10:52 AM, "Yukihiro Matsumoto" wrote: > > > Hi, > > > > In message "Re: Mixins vs. Multiple Inheritance" > > on 02/04/03, Bob Hutchison writes: > > > > |Is there someplace that outlines what you can do with > multiple inheritance > > |but not mix-ins? I've wondered this many times myself, and > I suspect the > > |original question could be answered with that outline. > > > > You can't inherit from two (or more) concrete classes by mix-in. > > > > matz. >