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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion