Tag Archive: constructors

Sep
30
2010

Code Better: Reference Containers for Change-Resistant Constructors

Proponents of dependency injection try to design classes so they can either work autonomously or get all services they rely on handed to them through their constructor. But even without dependency injection, the situation often arises where certain classes need to interact with a lot of other objects. In these cases, you often end up …

Continue reading »

Social Widgets powered by AB-WebLog.com.