Below you will find pages that utilize the taxonomy term “Refactoring”
Posts
Refactoring Commonality using the IWith Pattern
We’ve all been there. We’ve got two (or more) classes with that have a need for the same functionality that share no base class. The project manager is asking when this will all be done, so we just create a method in one class and copy it over to the other.
Then we find that another class has a need for the same functionality. So we copy it over to there as well…