3 ms·
Well, in Python for example there is the classic bug where if you change a dictionary in some function, it changes everywhere else. Can't do that with immutable
by roflyear 4y ago
Well, in Python for example there is the classic bug where if you change a dictionary in some function, it changes everywhere else. Can't do that with immutable data.
It is easy to avoid, but if you can't do it anyway, the potential for bugs go away.