Open Closed Principle in Object Oriented Design | SOLID Principles

preview_player
Показать описание
In object-oriented programming, the open–closed principle states "software entities should be open for extension, but closed for modification"; that is, such an entity can allow its behaviour to be extended without modifying its source code.

🔗Full Course:

🌐Join our community:
Рекомендации по теме
Комментарии
Автор

I say approach 2, simply because it’s not organized and you could do more by unsing the interface class extending it from the shape class

E_Wideman_Communications
Автор

Awesome playlist man. Very underrated :(

yashhirani