Write Extendable code with the Open-Closed Principle - SOLID Principals E2

Published: 09 December 2022
on channel: BitsOfQ
562
29

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!


On this page of the site you can watch the video online Write Extendable code with the Open-Closed Principle - SOLID Principals E2 with a duration of hours minute second in good quality, which was uploaded by the user BitsOfQ 09 December 2022, share the link with friends and acquaintances, this video has already been watched 562 times on youtube and it was liked by 29 viewers. Enjoy your viewing!