The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: andrea crotti <andrea.crott...@gmail.com>
Date: Mon, 29 Oct 2012 15:44:31 +0000
Local: Mon, Oct 29 2012 11:44 am
Subject: Re: Immutability and Python
2012/10/29 Jean-Michel Pichavant <jeanmic...@sequans.com>:
> "return NumWrapper(self.number + 1) "
> still returns a(nother) mutable object.
> So what's the point of all this ?
> JM
one. There are in general good reasons to do that, for example I can then compose things nicely: num.increment().increment()
or I can parallelize operations safely not caring about the order of
But while I do this all the time with more functional languages, I
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||