Navneet Pandey
  • Book Nook
  • Good Reads
  • Tags
  • Quick Chat

solid

A collection of 3 posts
solid

Liskov Substitution Principle

The Liskov Substitution Principle (LSP) is a principle in object-oriented programming that suggests that objects of a superclass should be replaceable with objects of its subclasses. That means  if a piece of code is designed to work with objects of a certain base class, it should also work correctly with
14 May 2023 1 min read
solid

Open Closed Principle

The Open/Closed Principle, a principle of object-oriented programming, emphasises that classes or methods should be designed in a way that allows for extension (adding new functionality) without modification (changing existing code). This principle promotes the idea of designing code that is flexible, maintainable, and resilient to change. The rationale
23 Apr 2023 2 min read
solid

Single Responsibility Principle

The Single Responsibility Principle (SRP) is a principle in object-oriented programming that suggests that a class should have only one reason to change. This means that a class should have a single responsibility or purpose, and should not be responsible for multiple unrelated tasks. By following the SRP, 1. classes
23 Apr 2023 2 min read
Page 1 of 1
Navneet Pandey © 2026
  • Reader Acknowledgment
Powered by Ghost