Classes, modules, and functions should be open for extension but closed for modification. A child class shouldn’t be responsible for the parent’s issues.
Dec 07, 20231 min read
Classes, modules, and functions should be open for extension but closed for modification. A child class shouldn’t be responsible for the parent’s issues.