Sunday, April 13, 2008

Dependency Injection

I've been trying to come up with a short description of what this new buzzword DI means and what it's trying to achieve. After reading Fowler's article, I still couldn't grasp what it really is. So I took a step back, looked at the words again -- 'dependency' and 'injection', and the idea came to me.

Dependency Injection (DI) is a Design Pattern wherein the 'container' establishes the dependency of an object to another object, instead of the object doing it by itself.

A lot of articles have been written about DI, so if you want to dig deeper, just Google it!

Saturday, April 05, 2008

Holistic Software Developer

To be a 'generalist' or a 'specialist'? This seems to be the question that has been hanging in my head ever since I've started software development as a profession. Which of the two makes you more effective, productive, and valuable? Finally I've found the answer:

'Scott Ambler, who coined the termgeneralising specialist” concurs:
A generalizing specialist is more than just a generalist. A generalist is a jack-of-all-trades but a master of none, whereas a generalizing specialist is a jack-of-all-trades and master of a few. Big difference.'