Java Packages and the Single Responsibility Principle
Published in
13 min readAug 27, 2020
The S in the famous (or infamous) SOLID acronym stands for the single responsibility principle (which itself has its own acronym, SRP). It means an entity should have only one single responsibility, and no others.
A good and common example of something that does not follow SRP is a function or procedure (“method,” in Java parlance) that does two different things that…