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


Groups > comp.lang.python > #32502

Re: Immutability and Python

From Neal Becker <ndbecker2@gmail.com>
Subject Re: Immutability and Python
Date 2012-10-30 16:45 -0400
References <mailman.3018.1351524004.27098.python-list@python.org> <526d3d06-f9b8-49b3-a0e8-f18ac3b6488e@ah9g2000pbd.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3101.1351629946.27098.python-list@python.org> (permalink)

Show all headers | View raw


rusi wrote:

> On Oct 29, 8:20 pm, andrea crotti <andrea.crott...@gmail.com> wrote:
> <snipped>
>> Any comments about this? What do you prefer and why?
> 
> Im not sure how what the 'prefer' is about -- your specific num
> wrapper or is it about the general question of choosing mutable or
> immutable types?
> 
> If the latter I would suggest you read
> http://en.wikipedia.org/wiki/Alexander_Stepanov#Criticism_of_OOP
> 
> [And remember that Stepanov is the author of C++ STL, he is arguably
> as important in the C++ world as Stroustrup]

The usual calls for immutability are not related to OO.  They have to do with 
optimization, and specifically with parallel processing.

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


Thread

Immutability and Python andrea crotti <andrea.crotti.0@gmail.com> - 2012-10-29 15:20 +0000
  Re: Immutability and Python Paul Rubin <no.email@nospam.invalid> - 2012-10-29 08:55 -0700
    Re: Immutability and Python Chris Angelico <rosuav@gmail.com> - 2012-10-30 03:08 +1100
    Re: Immutability and Python andrea crotti <andrea.crotti.0@gmail.com> - 2012-10-29 16:33 +0000
  Re: Immutability and Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-29 23:02 +0000
  Re: Immutability and Python rusi <rustompmody@gmail.com> - 2012-10-30 09:22 -0700
    Re: Immutability and Python Neal Becker <ndbecker2@gmail.com> - 2012-10-30 16:45 -0400
      Re: Immutability and Python rusi <rustompmody@gmail.com> - 2012-10-30 20:21 -0700
  Re: Immutability and Python Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-11-08 08:38 +0100

csiph-web