[comp.lang.smalltalk] Multiple inheritance in Smalltalk-80

erick@uoregon.UUCP (Erick Mata Montero) (05/05/87)

Does anybody have experience with multiple inheritance in Smalltalk-80?
How can I create a class which inherits from two or more classes?
Any examples of how to use  MetaclassForMultipleInheritance?

I am using Smalltalk-80 on a Tektronix 4405. Any comments on your
experience with multiple inheritance in Smalltalk-80 will be appreciated.

Erick Mata Montero
University of Oregon
CSNET:	erick@uoregon.edu
UUCP:	...!tektronix!uoregon!erick

howard@cpocd2.UUCP (Howard A. Landman) (05/14/87)

In article <1104@uoregon.UUCP> erick@uoregon.UUCP (Erick Mata Montero) writes:
>Does anybody have experience with multiple inheritance in Smalltalk-80?

Well, in Smalltalk-76 we didn't *HAVE* multiple inheritance, but it was often
possible to work around it.  Sometimes, what you really needed was for a class
to implement protocols from two or more classes; window protocol is a typical
example.  A class does not need to be a subclass of class Window to implement
this, although it's a little more work if it isn't.
-- 
	Howard A. Landman
	...!intelca!mipos3!cpocd2!howard
	howard%cpocd2%sc.intel.com@RELAY.CS.NET
	"I was the shadow of the waxwing slain"