3 ms·
I personally don't see how a couple parameters in the constructor are adding so much complexity that you'd be better off without DI. A good DI container can ma
by DatBear 12y ago
I personally don't see how a couple parameters in the constructor are adding so much complexity that you'd be better off without DI.
A good DI container can make it much easier to follow a pretty good amount of general best practices. Single Responsibility, DRY, and Open-Closed Principle to name a few.