The Rabbit Hole: The Definitive Developer's Podcast

169. SOLID - Dependency inversion principle

08.18.2020 - By Stride NYCPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

Today’s show marks our reaching of the final letter in our discussion of SOLID, the D, which stands for the Dependency Inversion principle! We kick things off with a bit of research on exactly what the Dependency Inversion principle states, and from there we unpack what implementing it in the real world might look like. Our conversation is all about the idea that pieces of your code should be decoupled and you can do this using interfaces. We discuss how the Dependency Inversion principle might be applied when you are connecting to databases, how it relates to inversion of control and ways of implementing it other than dependency injection.

More episodes from The Rabbit Hole: The Definitive Developer's Podcast