logo       

Re: How to squeeze Multiple Inheritance into Squeak ?: msg#00084

lang.smalltalk.squeak.beginners

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

I obviously have much to learn.  Thanks!

On 11/13/06, Ramon Leon <ramon.leon@xxxxxxxxxxxxx> wrote:
>
> 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

_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise