r/functionalprogramming • u/kinow mod • Oct 31 '20
Why I prefer functional programming
http://www.haskellforall.com/2020/10/why-i-prefer-functional-programming.html
30
Upvotes
r/functionalprogramming • u/kinow mod • Oct 31 '20
2
u/drfisk Nov 01 '20
I agree with most of it, but regarding your point "Dependency injection? Use a higher order function instead", I disagree since dependency injection is all about automatic "wiring".
I think HOFs is more of a replacement for most interfaces.