SOLID Design Principles Explained - The Liskov Substitution Principle With Code Examples

The Open/Closed Principle, which I explained in a previous article, is one of the key concepts in OOP that enables you to write robust, maintainable and reusable software components. But following the rules of that principle alone is not enough to ensure that you can change one part of your system without breaking other parts. Your classes and interfaces also need to follow the Liskov Substitution Principle to avoid any side-effects.

The Liskov Substitution Principle is the 3rd of Robert C....

What feeling does this article give you?

#hashtags to follow:

Closed Principle [+]    OOP [+]    Liskov Substitution Principle [+]    Robert [+]   

More #news: