99 ways to DI

Written by Dave Gurnell

I did a short talk on dependency injection at Scala Central recently with comedic support from 90s metal legends Megadeth. I removed the gags from the slides on Github in a fit of fear over Copyright infringement (which came a few days late if I’m honest), but you can check out the uncensored video after the break.

Here you go, in all its head-banging glory:

This talk actually changed quite drastically from inception to delivery. I originally conceived it as a comparison of “conventional” DI and “functional” DI via the Reader monad. However, as I looked into what “conventional” meant in the context of Scala DI, I was surprised at the number of techniques available and their striking similarity under the hood.