Tag Archives: dependency injection

Why interfaces?

We should almost always extract interfaces from your service classes because: We should use dependency injection to load and compose implementations: to avoid the need of manually constructing chains of dependent objects and/or to be able to release implementation changes … Continue reading

Posted in Development | Tagged , , , | Leave a comment

Too much dependency injection?

I’m sure you use dependency injection in many of your projects. And usually, it’s a very good thing to do. However, I found out that many people use it somehow blindly: every time they need to extract a new class just … Continue reading

Posted in Architecture | Tagged , , | 1 Comment