News for hackers. Stuff that matters.
Re:Ask HN: How often do you use inheritance? by wayn3 on Sunday May 14, 2017 @03:39PM (#14337186)
MixIn is just multiple inheritance rebranded.
Re:Ask HN: How often do you use inheritance? by twobyfour on Monday May 15, 2017 @06:00AM (#14340374)
Yes. Mixins are a particularly handy and slightly less dangerous form of multiple inheritance than multiple inheritance from two fully-fledged and usable classes (which IME causes more problems than it solves). I didn't intend to imply they weren't multiple inheritance. Would it have been clearer to have said "with" instead of "and"?