[Numpy-discussion] Release of 1.0b5 this weekend
Alan G Isaac
aisaac at american.edu
Tue Aug 29 14:49:25 CDT 2006
On Tue, 29 Aug 2006, Tim Hochberg apparently 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.
I believe this reasoning was the basis of sort (method,
returns None) and sorted (function, returns new object)
in Python.
I believe that was a long and divisive
discussion ...
Cheers,
Alan Isaac
More information about the Numpy-discussion
mailing list