Tag Archives: Dependency Injection

Dependency Injection

Why is it useful and how we can implement it ? By applying DI ( Dependency injection ) ¬†we avoid creating a hard-coded dependency in our classes. For example, let’s consider the situation where we implement a simple logging system … Continue reading

Posted in Code | Tagged , , | 4 Comments