Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do you need automatic injection? What the parent said is idiomatic FP


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: