SOLID Principles Series: Single Responsibility Principle (SRP)
Every software component should have one and only one responsibility.
There are two concepts that can help us understand more the meaning of the Single Responsibility Principle:
I. Cohesion
Cohesion is the degree to which the various parts of a soft...
the-it-girl.hashnode.dev4 min read