This essay arguing that “inheritance is evil, and must be destroyed” puts its case a bit strongly for my taste but articulates a fundamentally solid point. One thing I’ve always liked about RB is its stylistic preference for shallow class hierarchies.
This guy has just discovered that plain old single inheritance sucks. Not news.
But this kind of thing is why I keep arguing that RB needs mixins.
Comment by Guy — March 11, 2008 @ 4:18 pm
I disagree; his point, as I take it, is that composition is preferable to inheritance. Not news. For some other discussion of this blog post, see http://weblog.raganwald.com/2008/03/is-is-has.html .
Comment by charles — March 13, 2008 @ 11:29 am