[Newbies] How to squeeze Multiple Inheritance into Squeak ?

Michael Gorsuch michael.gorsuch at gmail.com
Mon Nov 13 21:29:09 UTC 2006


I obviously have much to learn.  Thanks!

On 11/13/06, Ramon Leon <ramon.leon at allresnet.com> 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 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/38772b6a/attachment.htm


More information about the Beginners mailing list