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

It feels powerful. I think the effects in return types could be inferred.

But I share the concerns of others about the downsides of dependency injection. And this is DI on steroids.

For testing, I much prefer to “override” (mock) the single concrete implementation in the test environment, rather than to lose the static caller -> callee relationship in non-test code.



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

Search: