Skip to content

Instantly share code, notes, and snippets.

View danielgoncharov's full-sized avatar

Daniel Goncharov danielgoncharov

  • New Work SE
  • Hamburg
View GitHub Profile
@gvolpe
gvolpe / di-in-fp.md
Last active September 16, 2024 07:18
Dependency Injection in Functional Programming

Dependency Injection in Functional Programming

There exist several DI frameworks / libraries in the Scala ecosystem. But the more functional code you write the more you'll realize there's no need to use any of them.

A few of the most claimed benefits are the following:

  • Dependency Injection.
  • Life cycle management.
  • Dependency graph rewriting.