[Newbies] How to squeeze Multiple Inheritance into Squeak ?

Michael Gorsuch michael.gorsuch at gmail.com
Mon Nov 13 20:55:56 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?

On 11/13/06, Michael Haupt <mhaupt at gmail.com> wrote:
>
> Hi Warakom,
>
> On 11/13/06, Warakorn Paphrawat <warakorn_paphrawat at yahoo.com> 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 at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20061113/d3caddd2/attachment.htm


More information about the Beginners mailing list