Back to Browse

How to Use Dependency Injection in Functional Programming

1.9K views
Jan 15, 2022
18:45

I'll show one of the problems Dependency Injection solves in Object Oriented Programming code bases, then show a similar technique in Functional code. You just use function arguments. Once you grok this, you'll be equipped to grok the more advanced partial application use. Blog Post: https://dev.to/jesterxl/how-to-use-dependency-injection-in-functional-programming-1jk4 Mark Seemann's DI video: https://www.youtube.com/watch?v=cxs7oLGrxQ4 Code: https://github.com/JesterXL/dependency-injection-in-functional-programming JavaScript Pipeline Operator: https://github.com/tc39/proposal-pipeline-operator Babel Plugin: https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator

Download

1 formats

Video Formats

360pmp444.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Use Dependency Injection in Functional Programming | NatokHD