4 ms·
Meh, I feel that things like "single responsibility principle" are easy to say, but in practice (a) defining what you mean by "single responsibility" is a chall
by hn_throwaway_99 6y ago
Meh, I feel that things like "single responsibility principle" are easy to say, but in practice (a) defining what you mean by "single responsibility" is a challenge, and (b) you're often trading off ease of handling things internally within a class for more difficulty in how you have to communicate with other classes (see microservices).
I agree though, if your classes are so big it's difficult to keep track of which methods are updating private member variables then that's a good sign your class is too big.