Thursday, April 19, 2007

Small Objects, Small Methods

From Martin Fowler's "Patterns of Enterprise Application Architecture", page 388:

"In an object-oriented model, you do best with small objects that have small methods. This gives you lots of opportunity for control and substitution of behavior, and to use good intention-revealing naming to make an application easier to understand."

Wiser words were never written.