Programming - Concept
Single Responsibility Principle
(SRP)
A software design principle that says each component should have one clear responsibility
What's it for?
Keeps each part of the code focused on one clear job so changes are easier to understand and maintain.