
#26 Dependency Injection - Why Do We Even...
Happy Path Programming
00:00
Introduction
James ward: What problem do we solve with dependency injection? We have something that depends on or needs something else in order to function come ishallly just import something and then use that thing. The core of the y with the penancy injection is that, what if that thing that you need can change? Not an uncommon situation, yea. And what if it can change in a variety of ways? So what if it changes based on the a way that i'm running something? This be that i'm i need something different if i 'm doing local development, versus, i need something Different if i'm running a production. Can then determine how it changes as well. It's
Transcript
Play full episode