2 ms·
I think as long as the mutators are cohesive, the design is more coherent to the users. In a purely pigeonhole principle sense, more pure code crowds out impur
by hinkley 7y ago
I think as long as the mutators are cohesive, the design is more coherent to the users.
In a purely pigeonhole principle sense, more pure code crowds out impure. But if you can put all of the impure code into one or two phases of an interaction, you’re improving things without really changing the ratios at all.
We often get sucked into analogs of the things we really need and I feel like this is one of them. You want the state changes to be comprehended. Fewer of them might help a lot or make things worse (legibility or performance). I believe it’s another quality over quantity situation.