An object that knows too much or does too much.
TL;DR: Don't take too many responsibilities.
Problems
Cohesion
Coupling
Coupling: The one and only software design problem
Maxi Contieri ・ Feb 6 '21
#webdev
#programming
#oop
#tutorial
Solutions
- Split responsibilities.
- Follow Single Responsibility Principle.
- Follow The Boy Scout Rule.
Examples
- Libraries