On Constructor Over-injection

added by DotNetKicks
8/28/2018 1:33:49 PM

2 Kicks, 1052 Views

Constructor Over-injection is a code smell, not an anti-pattern. Sometimes, people struggle with how to deal with the Constructor Over-injection code smell. Often, you can address it by refactoring to Facade Services. This is possible when constructor arguments fall in two or more natural clusters. Sometimes, however, that isn't possible.


0 comments