Is dependency injection useful in C++
For this, I need an interface and maybe a container for resolving my instances. But how you do this in C++? In the same way. The difference is that where you “program to an interface” in C#, you “program to a base class” in C++. Additionally, you have extra tools in C++ that you do … Read more