Younes Espiritukapitan-heneral.hashnode.dev·Mar 24, 2024Liskov Substitution Principle (LSP)Terminologies: base class means parent class subclass / derived class means child class ↝ This principle means that derived classes must be substitutable for their base classes. What do we mean by that? It means that a subclass should be able to ...DiscussTypeScript
Kumar Rohitkrohit-de.hashnode.dev·Jan 20, 20243. Liskov Substitution PrinciplePremise In our previous article on Open-Closed Principle (OCP), we establish how to add new feature by only adding new code. This design, results in a loosely coupled code which allows seamless extensibility and maintainability. Let's take another sc...DiscussSOLID Design PrinciplesSOLID principles
Serhat Levent Yavaşserhatleventyavas.dev·Nov 27, 2023Liskov Substitution Prensibi Nedir?Liskov Substitution Prensibi Liskov Substitution Prensibi, nesne yönelimli tasarımda ilgili sınıflar arasında ikame edilebilirliğin (substitutability) ve davranışsal alt tiplendirmenin (behavioral subtyping) önemini vurgulayan temel bir prensiptir. İ...DiscussLiskov Substitution Principle
Chetan Dattachetan77.hashnode.dev·Aug 15, 2023Liskov Substitution Principle (LSP)LSP is one of the five SOLID principles of object-oriented programming, introduced by Barbara Liskov in a 1987 paper. The principle emphasizes the importance of maintaining the expected behavior of a program when using inheritance and polymorphism. I...DiscussLow Level DesignSOLID principles
Adeesh Sharmaadeesh.hashnode.dev·Jul 17, 2023Using the Liskov Substitution Principle (LSP) in ReactIntroduction React, a popular JavaScript library for creating user interfaces, places a focus on following software engineering principles to create extendable and maintainable applications. One such rule is the Liskov Substitution Principle (LSP), w...Discuss·11 likes·87 readsLiskov Substitution Principle
Dulitha Rajapakshadulitharajapaksha.hashnode.dev·Dec 20, 2022SOLID Design Principles: The Liskov Substitution PrincipleHey folks! After a long break, I am continuing my design principles series with the next SOLID principle. That is Liskov Substitution Principle. The name of this principle sounds very serious. But I assure you, there is nothing to be scared of. This ...Discuss·74 readsDesign Principles 101Liskov Substitution Principle