Subtype Requirement: Let be a property provable about objects of type T. Then should be true for objects of type S where S is a subtype of T.From Barbara Liskov…
In object-oriented programming, the open–closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed…
The single-responsibility principle (SRP) is a computer-programming principle that states that every module, class or function in a computer program…