When Microsoft Violated Liskov Substitution Principle in .NET

When Microsoft Violated Liskov Substitution Principle in .NET

43.923 Lượt nghe
When Microsoft Violated Liskov Substitution Principle in .NET
It's easy to paint yourself into a corner where you end up violating the Liskov Substitution Principle. Let me show you an example of when Microsoft violated the principle in .NET. ❤️ BUY MY BOOK: https://leanpub.com/the-object-oriented-way/ MORE ABOUT LSP: https://youtu.be/7hXi0N1oWFU 📚 https://geni.us/IBhtLnh (Clean Architecture) MORE ABOUT ITERATOR PATTERN https://youtu.be/uNTNEfwYXhI CHAPTERS 00:00 Intro 00:36 Overview 02:07 The hierarchy 06:49 Read only 10:16 The violation 14:17 Confession 17:43 Conclusion