In this section focusing on the SOLID development pattern and how it applies to OOP, we will walk through the single responsibility principle. While the concept of single responsibility has been around for a while, it was popularized in 2003 by Uncle Bob.
SOLID OOP development – the simple responsibility principle
The single responsibility principle
What exactly is the Single Responsibility Principle (SRP)? The term is pretty self descriptive. Essentially, it means that each class and module in a program should focus on a single task.