[Tutor] What does Python gain by having immutable types?

Hugo González Monteverde hugonz-lists at h-lab.net
Tue Nov 15 02:50:57 CET 2005

> Quite often the only answer is "just because". Some features are
> the way they are because that's Guido's pesonal preference. Others
> may disagree with him but it's his language and he gets to pick
> what he thinks is best - the benign dictator syndrome.

There's also the issue that immutability is Python's way of dealing with 
  "passing by value" and "passing by reference".  And that removing the 
difference between mutable and immutable objects would mutate (no pun 
intended) the language in a big way.


More information about the Tutor mailing list