3 ms·
> Maintaining state and mutating state is useful and neatly done in OO I started laughing when I read "neatly done". I assume you don't mind long range state m
by mbrodersen 9y ago
> Maintaining state and mutating state is useful and neatly done in OO
I started laughing when I read "neatly done". I assume you don't mind long range state mutating effects making your code a lot more complex to reason about than it needs to be. Or the "grab a banana and you grab the whole planet" dependency issues OO almost inevitably introduce. Or ... (I could go on). OO with mutable state is anti-modular.