SOLID PRINCIPLES – Open Close Principle

1. Do not modify code when change is requested
2. Better is to extend application, add new classes method
3. When code needs to be modified when requirement change it could be bad design
4. Not every code change is bad, when we extend functionalities we would someheow modify the app, but we won’t change existing code