Coding Blocks cover image

Clean Code – How to Write Classes the Right Way

Coding Blocks

00:00

Dependency Inversion Is Not Dependency Into Your Framework

It's basically just a way ofp n your dependencies out. So if you've got some code that may me does a data base call, then why don't you consider taking in that dependency as a perameter to your class? It kind of reverses the relationship and makes for a cleaner code. But it is important to point out that with dependency in version, that you want abstractions and not concrete details.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app