Posts

Showing posts from May, 2024

SOLID principles to apply while writing programming code are:

  SOLID principles to apply while writing programming code are: Single Responsibility Principle: Each unit should be responsible for only one thing. Open-Closed Principle: Systems should be open for extension but closed for modification. Liskov Substitution Principle: Substitutions of subclasses should preserve properties of superclass. Interface Segregation Principle: Interfaces should be segregated based on their responsibilities. Dependency Injection Principle: Dependency on abstractions rather than concretions.