February 19, 2012 Dependency Inversion Principle (DIP)
I wish that I could take credit for this article, but I can’t. Instead, I have to credit two people: Lasse Koskela and Miško Hevery. I credit Lasse for writing the manuscript that led me to Miško’s article. Look for Lasse’s upcoming book Unit Testing in Java at Manning Publications’ site. Let me summarize Miško’s article here, then you can read the details at his blog.
This is a companion discussion topic for the original entry at http://blog.thecodewhisperer.com/permalink/ten-ways-to-kill-your-design