July 2019
Intermediate to advanced
410 pages
10h 32m
English
A class should have only one responsibility. The goal of this principle is to simplify our classes and logically structure them. Classes with multiple responsibilities are harder to understand and modify, as they are more complex. Responsibility in this circumstance is simply a reason for the change. Another way of looking at responsibility is to define it as a single part of the functionality:
- Robert C. Martin
Read now
Unlock full access