Re:From dependency injection to dependency rejection
by edem on Sunday February 05, 2017 @08:52AM
(#13572407)
The key part about why dependency injection with partial application is not functional:
> When you inject impure operations into an F# function, that function becomes impure as well. Dependency injection makes everything impure, which explains why it isn't functional.
> When you inject impure operations into an F# function, that function becomes impure as well. Dependency injection makes everything impure, which explains why it isn't functional.