Re:A Formal Theory of Spaghetti Code
by jonhohle on Saturday March 12, 2022 @02:51PM
(#30654324)
I often pushed for immutable objects specifically for this reason. At construction time you guarantee the state of the object once, otherwise, as you said, complexity doubles with each mutable property.
[ Parent
| on HN ]
There are no comments on this comment yet.