SOLID Principles
S: Single responsibility.
A class or a method, there is only one reason to change it.
In simple terms, the Single Responsibility Principle states that a class or method should be designed to serve a single, well-defined functionality. This makes it...
yichunzhao.hashnode.dev2 min read