Cleaning my desk...

This is my last week here at work and, while cleaning my desk I found this quote:

What I sometimes see when I interview people and review code is symptoms of a disease I call Object Happiness.  Object Happy people feel the need to apply principles of OO design to small, trivial, throwaway projects.  They invest lots of unnecessary time making pure virtual abstract base classes -- writing programs where IFoos talk to IBars but there is only one implementation of each interface!  I suspect that early exposure to OO design principles divorced from any practical context that motivates those principles leads to object happiness. People come away as OO True Believers rather than OO pragmatists.

I didn't write that, I found it in a blog some time ago; where I can't remember.  I think that that is great advice to remember, especially when prototyping and building small tools.

 

158 Comments

Comments have been disabled for this content.