Re:How learning Smalltalk can make you a better developer
by groovy2shoes on Monday August 01, 2016 @07:01AM
(#12201451)
Most "problems" with multiple inheritance stem from languages that don't provide a well-defined method resolution scheme. Languages that do have a well-defined hierarchy linearization tend to avoid most of the problems with multiple inheritance.
See, for example: Common Lisp, Dylan, Python (since 2.3), Perl 6, ...
Re:How learning Smalltalk can make you a better developer
by qwertyuiop924 on Friday July 29, 2016 @07:10AM
(#12186027)
However, to use Steve Yegge's example, say you're making a game, and you have a LightSource class, and a Weapon class, and now you want a glowing sword. :)
Given, this sort of problem is far easier in ST than in java, because we have MessageNotUnderstood (I think that's what it's called), so you don't have to do as much stubbing.
Multiple inheritance has its problems, too. I prefer the greater simplicity of single inheritance.