6 ms·
I think you got immutability and single side assignment mixed up. If foo is immutable there is no harm if something else tries to manipulate it because it will
by ticking 12y ago
I think you got immutability and single side assignment mixed up.
If foo is immutable there is no harm if something else tries to manipulate it because it will just derive a new data-structure.