Single-Responsibility Principle
↝ It states that a class should have one, and only one, reason to change. What do you mean by reason to change? When a class has more responsibilities, there's a chance it might have to change its behavior later on. That's why we aim to minimize the ...
kapitan-heneral.hashnode.dev3 min read