3 ms·
> so the central idea of dependency injection, a concept with a wiki of like 5000 words [1], is just pass parameters to functions... ... instead of functions r
by int_19h 1y ago
> so the central idea of dependency injection, a concept with a wiki of like 5000 words [1], is just pass parameters to functions...
... instead of functions reaching out to obtain those dependencies from globals. Yes, that is exactly what it is about. Like much of 90-00s era OOP design discourse, it's vastly overcomplicated for no good reason.