This is interesting, but there’s no mention of when I should use DI. Why was this invented? Why is this necessary when you can use design patterns to accomplish DI?
This is interesting, but there’s no mention of when I should use DI. Why was this invented? Why is this necessary when you can use design patterns to accomplish DI?