Andrew's Digital Garden

Single Responsibility Principle

A class should have one and only one reason to change, meaning that a class should have only one job.

Additionally:

Gather together the things that change for the same reasons. Separate those things that change for different reasons.

[[20210202103254-coupling-cohesion]]

[[principles]]

Single Responsibility Principle