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.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to