If the only thing you inject is data, can we still call that "dependency injection"?
I suppose that's a philosophical question.
Probably the 2 most common functions I 'dependency inject' are rand() and time.now(). I feel like they count, but you might not.
I also tend to avoid HOF when I can instead pass data around explicitly.
If the only thing you inject is data, can we still call that "dependency injection"?