From dependency injection to dependency rejection

added by DotNetKicks
1/27/2017 1:36:41 PM

2 Kicks, 247 Views

I've seen more than one answer, from other people, explaining how partial function application is equivalent to dependency injection. In a small series of articles, I'll explain both why this is true, but also why it's not functional. I'll conclude by showing a functional alternative to decoupling logic and (side) effects.