[Numpy-discussion] Release of 1.0b5 this weekend
Charles R Harris
charlesr.harris at gmail.com
Tue Aug 29 14:36:33 CDT 2006
On 8/29/06, Tim Hochberg <tim.hochberg at ieee.org> wrote:
> -0.5 from me if what we're talking about here is having mutating methods
> return self rather than None. Chaining stuff is pretty, but having
> methods that mutate self and return self looks like a source of elusive
> bugs to me.
But how is that any worse than the current mutating operators? I think the
operating principal is that methods generally work in place, functions make
copies. The exceptions to this rule need to be noted.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion