Viewing posts from February, 2014
I'm always amaze the range of software development problems that the Interface data type can solve. Anytime there is need to refactor code, the first thing that typically needs to be accomplished is extract interfaces from classes. Once the dependent classes are referenced by interfaces, they can be mocked and unit testing is possible. While performing the extraction of interfaces on legacy code, I found a useful side benefit.