Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Immutability and Python

Reply
Thread Tools

Re: Immutability and Python

 
 
Terry Reedy
Guest
Posts: n/a
 
      10-29-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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Immutability and Python andrea crotti Python 8 11-08-2012 07:38 AM
Re: Immutability and Python Paul Rubin Python 7 10-29-2012 11:14 PM
Re: Immutability and Python Mark Lawrence Python 0 10-29-2012 03:55 PM
Re: Immutability and Python andrea crotti Python 0 10-29-2012 03:48 PM
Re: Immutability and Python andrea crotti Python 0 10-29-2012 03:44 PM



Advertisments