S.O.L.I.D Principles
Apr 20, 2025 · 2 min read · 1. Single Responsibility Principle (SRP) The Single Responsibility Principle (SRP) states: "A class should have only one reason to change." This means that a class should only have one job or responsibility. If a class has more than one reason to c...
Join discussion