Ganesh Rama HegdeforDesign Patterns in Software Blogdesignpatterns.hashnode.dev·Aug 25, 2024Liskov Substitution Principle (LSP)The "L" in the SOLID principles is the Liskov Substitution Principle or the LSP. In this BLOG, I had mentioned the definition of the LSP. Subtypes must be substitutable for their base types without altering the correctness of the program. Essentially...Discuss·1 likeTypeScript
Nile Bitsnilebits.hashnode.dev·Aug 24, 2024Top 5 Software Design Principles for Building Robust ApplicationsBuilding robust applications requires a strong foundation of solid design principles. These principles guide developers in writing code that is not only functional but also maintainable, scalable, and adaptable to change. In this comprehensive guide,...Discusssoftware design
Ganesh Rama HegdeforDesign Patterns in Software Blogdesignpatterns.hashnode.dev·Aug 17, 2024SOLID PrinciplesThe SOLID principles are a set of guidelines for designing software that is easy to manage and extend. They were introduced by Robert C. Martin and are often used to guide software development practices. Here's a brief overview of each principle: Si...Discuss·1 likeTypeScript
Geo J Thachankarygeothachankary.hashnode.dev·Aug 14, 2024Understanding the Liskov Substitution Principle (LSP) with C#In our ongoing series on SOLID principles, we've already covered the Single Responsibility Principle (SRP) and the Open/Closed Principle (OCP). In this post, we'll dive into the Liskov Substitution Principle (LSP), the third principle in the SOLID ac...Discuss·137 readsS.O.L.I.D Principles Using C#SOLID principles
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·178 readsLiskov Substitution Principle
Dulitha Rajapakshadulitharajapaksha.com·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 ...DiscussDesign Principles 101Liskov Substitution Principle