Hacker News new | ask | show | jobs
by Tichy 6113 days ago
What do they mean by a language that supports dependency injection? What would be an example for a language that doesn't support it - stateless languages, I suppose? Because if there is no state, how to remember the dependencies?

Edit: Just checked if it is April 1st, but nope, it isn't. They must be serious.

1 comments

I'm sure they mean that the language itself supports declaring and injecting dependencies rather than needing to use an external tool to do it.