What is the Open/Closed principle?

Software components should be open for extensions but closed for modifications. This means that a component should be designed in such a way that, if you need to add a new rule or functionality, you shouldn’t have to modify the existing code. If you have to modify the existing code to add new functionality, this means the component is violating the Open/Closed principle.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.248.1