Scala Dependency Injection – The Cake Pattern

The cake pattern is an important pattern to do dependency injection in Scala. It is explained in various blog posts on the web, for example¬†by Jason Arhart, by Mark Harrison¬†and by Eran Medan. And I am sure there are dozens of other places. However, I want to write an explanation myself, mostly for my own […]