In this episode of the Bits of Q SOLID Principles series we are going to talk about the open-closed principle.
This principle is all about extandability of your code. We will talk about designing your code in such a way that it is easy to extend without having to modify existing code. We'll not only discuss how to do this at a class level, but even at a component or system level.
SOLID Principles Playlist:
• SOLID Principles
Timestamps:
0:00 Introduction
1:24 Open-Closed Principle at the class level
1:48 The initial design
2:16 Violating the Single Responsibility Principle?
3:46 A violation of the Open-Closed Principle!
4:31 The source of the problem
4:57 Fixing the design
5:15 Interfaces
6:30 Interfaces in different languages
7:07 Dynamically typed languages and duck-typing
8:04 Open-Closed beyond the class level
8:23 Components
9:30 Applying Open-Closed at a component level
10:45 A component diagram of the design
11:39 Dependencies and impact of modifications
13:36 Inverting the dependencies
14:55 Dependency Inversion Principle?
15:33 Summary & What's next!
Nesta página do site você pode assistir ao vídeo on-line Write Extendable code with the Open-Closed Principle - SOLID Principals E2 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário BitsOfQ 09 Dezembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 562 vezes e gostou 29 espectadores. Boa visualização!