Info |
---|
The Open/Closed Principle states that "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification". |
...
|
...
The idea is to write our components so that we can add new functionality without changing existing code. This prevents potential new bugs in existing functionalities and makes the maintenance of a large codebase easier.
...