Liskov Substitution Principle

Author: Christopher Okhravi
Published At: 2024-05-13T00:00:00
Length: 20:16

Summary

Description

Violating the 7 rules of the Liskov Substitution Principle (L in SOLID) leads to code that is difficult to reason about. The 3 type rules can be checked by compilers but the 4 behavioral rules have to be respected by us developers.

๐Ÿ’š BUY MY BOOK:

https://leanpub.com/the-object-oriented-way/

โญ๏ธ More about LSP in Clean Architecture (Chapter 9): https://geni.us/IBhtLnh

Watch First: https://youtu.be/FdFBYUQCuHQ

๐Ÿ“„ The paper: https://dl.acm.org/doi/pdf/10.1145/197320.197383

๐Ÿ›๏ธ Design By Contract: https://en.wikipedia.org/wiki/Design_by_contract

CONTENTS

00:00 Intro

01:33 Formal Definition

02:56 Robustness Principle

06:09 Type Rules

08:50 Terminology

11:59 Behavioral rules

19:15 Conclusion

Translated At: 2025-06-26T01:46:12Z

Request translate (One translation is about 5 minutes)

Version 3 (stable)

Optimized for a single speaker. Suitable for knowledge sharing or teaching videos.

Recommended Videos