4 lines
350 B
Plaintext
4 lines
350 B
Plaintext
A class that grows too much tends to aggregate too many responsibilities and inevitably becomes harder to understand and therefore to maintain, and having a lot of fields is an indication that a class has grown too large.
|
|
|
|
|
|
Above a specific threshold, it is strongly advised to refactor the class into smaller ones which focus on well defined topics. |