Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32409

Re: Immutability and Python

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Immutability and Python
Date 2012-10-29 13:48 -0400
References <CAF_E5JZVij+DTNNH=kMHVa1+GM6g80MpQBY1N4wc-a46bmGLsw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3037.1351532928.27098.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Immutability and Python Terry Reedy <tjreedy@udel.edu> - 2012-10-29 13:48 -0400

csiph-web