[Newbies] How to squeeze Multiple Inheritance into Squeak ?

Ramon Leon ramon.leon at allresnet.com
Mon Nov 13 21:00:50 UTC 2006


> 
> Here's an idea:
> 
> I have a Person class, but I need him to inherit traits that 
> the Human class has and the Ninja class has. 
> 
> Is that sufficient?
> 
> 

"I need him to inherit 'traits' that the Human"

This is what "Traits" are for...  Traits were meant to supercede multiple
inheritance.

Ramon Leon
http://onsmalltalk.com  



More information about the Beginners mailing list