SOLID – Single Responsibility

Def. A class should have only a single responsibility. “S” in SOLID acronym stands for Single Responsibility Principle. The definition seems quite obvious, intuitive and simple. But it’s not. Let’s clarify it. In order to proceed, I will introduce 2 new terms: Business Responsibility is business requirement, functionality that describe public class’ interface. It usally comes from client’s […]

Continue reading