News for hackers. Stuff that matters.
Re:Java Doesn't Need to Be So Bad by wbkang on Friday December 09, 2011 @03:28AM (#3333051)
I used to think that way too but actually inheritance doesn't have to imply an is-a relationship. Inheritance in its basic form in programming language theory can be thought as a code inclusion mechanism. To be honest, I often find that composition is a poorer and clunky way to reuse code

There are no comments on this comment yet.