logo       

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

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?

On 11/13/06, Michael Haupt <mhaupt@xxxxxxxxx> wrote:
Hi Warakom,

On 11/13/06, Warakorn Paphrawat <warakorn_paphrawat@xxxxxxxxx> wrote:
> Sadly enough the possibility of Multiple Inheritance in Squeak would greatly
> benefit me in my current Squeak project ?

what exactly is the characteristic in your project that imposes this
requirement on it? Why do you need multiple inheritance? What would
you use it for?

I'd recomment looking at traits first, but without knowing what
exactly you are trying to achieve, I cannot say much more. :-)

Best,

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