Hacker News new | ask | show | jobs
by raviqqe42 1739 days ago
IMO, dependency injection tries to solve similar problems which are traditionally tackled by purely function programming languages, such as side effect management, reliable unit tests, segregation of application logic and implementation details, and so on.

This is too rough but, in other words, dependency injection is simply a less strict or untyped version of effect system or purely functional programming.