From: Charles R H. <cha...@gm...> - 2006-08-29 19:36:36
|
Hi, On 8/29/06, Tim Hochberg <tim...@ie...> 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. > > -tim 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. Chuck |