Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's just normal multiple-inheritance. Nothing like mixins.

Mixins would be if the classes actually contribute pieces which combine in an interesting way. Like a border-mixin added to a button class would add to the drawing and to the geometry of the object.



Actually some cases of mixins are equivalent to multiple inheritance.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: