2 ms·
>I never had to use dependency injection to solve a problem, Here is some life advice. Start passing your dependencies through the constructor instead of using
by imtringued 3y ago
>I never had to use dependency injection to solve a problem,
Here is some life advice. Start passing your dependencies through the constructor instead of using a "new X()" call in the constructor. That is what dependency injection is all about.