|
|
|
|
|
by hacker_9
3440 days ago
|
|
If I add a new member to a type, because of immutability, if I change the member it means I have to think about creating new instances all the way up the chain. And then in turn handling how that change propagates out. It makes for more hassle and time needed to make changes compared to just having mutable instances. |
|
Mutability is definitely not less hassle or time if you account for the dramatic difference in error rates and maintenance costs.