|
|
|
|
|
by monkeyfacebag
1733 days ago
|
|
I’m still not seeing it. As a Java dev by day, I see DI mostly through the lenses of Hollywood principle and IOC containers, neither of which bear much resemblance to currying (as I see it). When it comes to something like DI frameworks, currying is certainly not as powerful, but I don’t think that’s what you mean. Currying seems much more related to something like the builder pattern. Maybe there’s some article you know of that I could read? Googled around but didn’t find anything. |
|
Mark Seeman's blog[0][1][2](many more related articles, these are particularly related) helped me grasp some of this stuff.
[0]: https://blog.ploeh.dk/2014/06/10/pure-di/
[1]: https://blog.ploeh.dk/2017/01/30/partial-application-is-depe...
[2]: https://blog.ploeh.dk/2017/01/27/dependency-injection-is-pas...