4 ms·
It's a good point though. Who decides what "one reason to change" is? a 10-line method could easily have hundreds of reasons to change.
by burade 6y ago
It's a good point though. Who decides what "one reason to change" is? a 10-line method could easily have hundreds of reasons to change.
- TuringTest 6y agoI think the point is that you wouldn't apply those hundreds of reasons all at once. But it your code is doing two things, you could end up having two reasons to change it at the same time.
- sorokod 6y agoYou the programmer do. Do you expect everything to be automated by successive application of precise rules?