November 2018
Intermediate to advanced
346 pages
8h 12m
English
When applying DI to our code, we are unsurprisingly injecting our dependencies, typically in the form of a function parameter. If you see a function with many injected dependencies, this is a likely sign that the method is doing too much.
Additionally, applying SRP will inform our object design. As such, this helps us identify when and where to use DI.
Read now
Unlock full access