logo       

RE: How to squeeze Multiple Inheritance into Squeak ?: msg#00083

lang.smalltalk.squeak.beginners

Subject: RE: How to squeeze Multiple Inheritance into Squeak ?

>
> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise