Pavel Shirshov and Michael Feldman introduce distage, a dependency injection framework for Scala designed for purely functional programming.
Pavel Shirshov & Michael Feldman at #ScalaUA - distage: Modern Dependency Injection for Scala (remote session)
Many Scala developers nowadays consider using Dependency Injection frameworks an anti-pattern incompatible with modern FP settings.
We argue that it's just a consequence of a bad experience with legacy Java runtime reflection-based implementations that lack features important for modern functional programming, such as a first-class support for higher-kinded types.
We argue that as a paradigm for structuring purely functional programs, DI with automatic wiring compares favorably against implicits, monad transformers, free monads, algebraic effects, cake pattern at all, enabling scaling and a degree of modularity unachievable by any manual wiring approach.
This talk covers DIStage – a transparent, flexible and efficient DI framework for Scala that enables late binding, testability, effect separation and modular resource management at scale, working with, instead of compromising the Scala type system.
Follow ScalaUA Conference on Twitter:
twitter.com/@ScalaUA_Conf
Why it's here
1 person recommends this
What people say. Recommended as part of a curated list of high-quality ScalaUA conference talks.
k
u/know_not_muchin r/scala • Recommends
All Videos of ScalaUA conference are now available!
All the videos of ScalaUA conference can be seen at
link to this video
and
https://old.reddit.com/r/ScalaConferenceVideos/
Since this conference has exceptionally good topic selection, I am listing down the urls to all the talks below
Thinking Functionally - John A. De GoesBig Step to Functional Programming - Alex ZvolinskiyScheduling and retrying effects with cats - Miklós MartinConquering Concurrency with Functional Programming - Jakub KozłowskiScala Schemas with Shapeless - Kévin RauscherBackpressure over the wire - when things go wrong - Zahari DichevThings I wish I knew when I started with Akka - Markus Jura
[Tou…