In this episode of the Bits of Q SOLID Principles series we are going to talk about the Dependency Inversion principle.
This principle is all about decoupling your code from its dependencies.
By carefully introducing interfaces you can make your code more modular and easier to maintain.
We'll demostrate how to apply the dependency inversion principle and will talk about which violations of the principle can and should be fixed, as this is not always possible.
SOLID Principles Playlist:
• SOLID Principles
Timestamps:
0:00 Introduction
0:12 First solution
0:44 The problem
1:28 Protecting against change
2:05 Fixing violations of the DIP
2:47 Flow of control vs dependencies
3:23 The Dependency Inversion Principles
3:58 Fixing the last violation
4:25 When to fix violations of the DIP?
6:44 Conclusion
En esta página del sitio puede ver el video en línea More Modular Code with Dependency Inversion - SOLID Principles E5 de Duración hora minuto segunda en buena calidad , que subió el usuario BitsOfQ 02 junio 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 624 veces y le gustó 20 a los espectadores. Disfruta viendo!