News for hackers. Stuff that matters.
Re:Applying the Unix Philosophy to Object-Oriented Design by pjmlp on Wednesday November 28, 2012 @10:30AM (#4842970)
This is the principle to always create loosely coupled components that can be glued together.

I think the OO community has already learned that interfaces, categories, traits, mixins, or whatever they are called in your favorite language, favor more re-usability than plain inheritance.

The trick is to learn when inheritance, delegation or composition make sense.

As with everything in life, it takes time to proper learn them with lots of failed experiences along the way.

There are no comments on this comment yet.