4 ms·
> Any kind of injection of dependencies should be done via an explicit method/constructor parameter. I would go further and always recommend manual DI - that i
by mateuszf 7y ago
> Any kind of injection of dependencies should be done via an explicit method/constructor parameter.
I would go further and always recommend manual DI - that is passing the objects and creating them in code rather than depending on some magic framework to do the job. That makes understanding / analyzing / fixing bugs a lot easier.