Immutability and Python
Terry Reedy
tjreedy at udel.edu
Mon Oct 29 13:48:23 EDT 2012
On 10/29/2012 11:20 AM, andrea crotti wrote:
> I have a philosofical doubt about immutability, that arised while doing
> the SCALA functional programming course.
In real life, the physical world, things have mutable state, at least
down to the atomic level. Do you only want to model mathematical worlds,
or also physical worlds.
Even mathematically, I do not think there necessarily a problem with
mutable collections. The fact that sets are defined by content does not
mean that everything has to be.
--
Terry Jan Reedy
More information about the Python-list
mailing list