filmov
tv
Open Closed Principle Example in 4 Minutes
![preview_player](https://i.ytimg.com/vi/kaabJA8FKgI/maxresdefault.jpg)
Показать описание
open closed principle example
A module will be said to be open if it is still available for extension. For example, it should be possible to add fields to the data structures it contains, or new elements to the set of functions it performs.
A module will be said to be closed if it is available for use by other modules. This assumes that the module has been given a well-defined, stable description (the interface in the sense of information hiding)
#solid, #react, #kodeark, #designprinciple
A module will be said to be open if it is still available for extension. For example, it should be possible to add fields to the data structures it contains, or new elements to the set of functions it performs.
A module will be said to be closed if it is available for use by other modules. This assumes that the module has been given a well-defined, stable description (the interface in the sense of information hiding)
#solid, #react, #kodeark, #designprinciple