SOLID - Liskov Substitution Principle
Play
6:22 CC

SOLID - Liskov Substitution Principle

#200 Jul 28, 2019 pro
In this episode, we look at the Liskov Substitution Principle. If S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties of the program.

SOLID - Open/Closed Principle
Play
5:09 CC

SOLID - Open/Closed Principle

#199 Jul 21, 2019 pro
Open/Closed principle states "software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification"; that is, such an entity can allow its behaviour to be extended without modifying its code.

SOLID - Single Responsibility Principle
Play
7:00 CC

SOLID - Single Responsibility Principle

#198 Jul 14, 2019 pro
A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class.