Tag Archives: composition

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

I favor composition over inheritance

Many developers learn object oriented programming in college, and a favorite topic of teachers seems to be inheritance. Abstract classes, virtual methods, and overriding are neat concepts that easily can be used to compare audience: only good programmers understand all those well. But the … Continue reading

Posted in Architecture | Tagged , | Leave a comment