Immutability and Python
ndbecker2 at gmail.com
Tue Oct 30 21:45:33 CET 2012
> On Oct 29, 8:20 pm, andrea crotti <andrea.crott... at gmail.com> wrote:
>> 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
> [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.
More information about the Python-list