Skip to content
0:00 / 0:00

#distage#dependency-injection#functional-programming

Pavel Shirshov & Michael Feldman at #ScalaUA - distage: Modern Dependency Injection for Scala

ScalaUA Conference

1.2K subscribers • 26 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Pavel Shirshov & Michael Feldman
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

617 views7 years ago1 recommendation

Programming languagesSoftware designScalaDesign patternsSoftware architecture

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.

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 Goes Big Step to Functional Programming - Alex Zvolinskiy Scheduling and retrying effects with cats - Miklós Martin Conquering Concurrency with Functional Programming - Jakub Kozłowski Scala Schemas with Shapeless - Kévin Rauscher Backpressure over the wire - when things go wrong - Zahari Dichev Things I wish I knew when I started with Akka - Markus Jura [Tou…