Re:CUPID – the back story
by burade on Sunday March 21, 2021 @01:00PM
(#26531853)
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.
[ Parent
| on HN ]
Re:CUPID – the back story
by TuringTest on Sunday March 21, 2021 @01:06PM
(#26531915)
I 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.