SOLID Class Design: The Liskov Substitution Principle — Tom Dalling
This is part three of a five part series about SOLID class design principles by Robert C. Martin. The SOLID principles focus on achieving code that is maintainable, robust, and reusable. In this post, I will discuss the Liskov Substitution Principle.
This is part three of a five part series about SOLID class design principles by Robert C. Martin . The SOLID principles focus on achieving code that is maintainable, robust, and reusable. In this post, I will discuss the Liskov Substitution Principle. The Liskov Substitution Principle (LSP) : functions that use pointers to base classes must be able to use objects of derived classes without knowing it . When first learning about object oriented programming, inheritance is usually described as an “is a” relationship. If a penguin “is a” bird, then the Penguin class should inherit from the Bird c
Explore this link on the map →related reading
- SOLID Design Principles Explained- Stackifystackify.com
- Liskov substitution principle - Wikipediaen.wikipedia.org
- SOLID Design Principles Explained: Building Better Software Architecture | DigitalOceandigitalocean.com
- SOLID Class Design: The Open Closed Principle — Tom Dallingtomdalling.com
- LEAP 71 | PicoGK.org Blogpicogk.org
- Favoring Composition Over Inheritance In Java With Examples - GeeksforGeeksgeeksforgeeks.org
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- Inheritance · Crafting Interpreterscraftinginterpreters.com
- Lab 1: Simulation I - CS2030S Programming Methodology IInus-cs2030s.github.io
- how I think when I think about programming - alice mazalicemaz.com
- "Inventing on Principle" by Bret Victor speech transcriptjamesclear.com
- 14. Polymorphism - CS2030S Programming Methodology IInus-cs2030s.github.io