Class Obsession
Class obsession is an object-oriented anti-pattern in which one class gathers too many separate responsibilities. Class obsession makes unrelated parts of the codebase tightly interconnected. Class obsession makes testing, refactoring, and…
1 sources - 4 claims
Class obsession is an object-oriented anti-pattern in which one class gathers too many separate responsibilities. Class obsession makes unrelated parts of the codebase tightly interconnected. Class obsession makes testing, refactoring, and debugging harder. A class affected by class obsession can mix unrelated concerns such as authentication, payments, profile management, and notification.