Nguyên tắc thay thế Liskov

Tác giả: Christopher Okhravi
Ngày xuất bản: 2024-05-13T00:00:00
Length: 20:16

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

Dịch Vào Lúc: 2025-06-26T01:46:12Z

Yêu cầu dịch (Một bản dịch khoảng 5 phút)

Phiên bản 3 (ổn định)

Tối ưu hóa cho một người nói. Phù hợp cho video chia sẻ kiến thức hoặc giảng dạy.

Video Đề Xuất