Beyond Cakes

Beyond Cakes

The Cake pattern is a popular pattern for dependency injection in Scala. It's not without problems though. In this talk I cast a light on its short-comings and problems and present Free Monads as a way to free yourself of the troubles of dependency injection by pushing effects out of your application to the boundaries. I'll show you how to go from Cake components to a DSL of actions, and I'll show you how to writes that have not one single mock! Seriously 😎

Cfea2909b96882e9edea7245258e8e25?s=128

Sebastian Wiesner

August 31, 2016
Tweet