Preslav's Thoughts and Ramblings

dependency injection

  • 15 May 2013

    Write Better Software: Avoid Setter Injection at All Costs

    A part of my: "Tips for writing better software" series IMHO, setter injection (SI) is one of the things that keep reoccurring in production code, mainly for legacy reasons. Older versions of some dependency injection (DI) frameworks required it because of the way they instantiated classes - using reflection. What...