3 ms·
I'm not sure you're disagreeing? My interpretation is that he's stating that you can't base fundamental mathematical formalism's on mutation, you have to model
by Folcon 4y ago
I'm not sure you're disagreeing?
My interpretation is that he's stating that you can't base fundamental mathematical formalism's on mutation, you have to model them using immutable structures.
You can then model mutation on top of that.
Then in key areas, when you know bringing back in mutation for performance reasons, you can do so with a really nice test case to validate your implementation is correct. IE does the mutable one match the immutable one.
You can also make sure your mutation is local.