Hacker News new | ask | show | jobs
by shepherdjerred 1373 days ago
Why do you need automatic injection? What the parent said is idiomatic FP
1 comments

Because in typical back-end software, the dependency tree can get very big very fast. Having an IoC container means devs only have to declare direct dependencies for each service, rather than constructing the entire tree (and figure out the necessary ordering, etc).