Skip to main content

One doc tagged with "srp"

View all tags

Chapter 7: SRP — The Single Responsibility Principle

The most misunderstood SOLID principle. SRP is NOT "every class does one thing" — it means a module should have only one reason to change, i.e., it serves only one actor. Learn the two symptoms of SRP violation and how to solve them.