Specialized Classes

After extraction, the original class should delegate to specialized classes instead of implementing every concern itself. Refactoring a bloated class begins by extracting distinct concerns into dedicated classes. A bloated User class can b…

1 sources - 3 claims

After extraction, the original class should delegate to specialized classes instead of implementing every concern itself. Refactoring a bloated class begins by extracting distinct concerns into dedicated classes. A bloated User class can be separated into profile, payment, and notification classes.