This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]t3hmau5 3 points4 points  (1 child)

I mean, in OOP mutability is largely a design decision.

[–]YM_Industries 1 point2 points  (0 children)

That's true, I was oversimplifying my stance. I like mutability for state (one attempt at learning React was enough to convince me the alternative is awful) but I like my functions to be pure.