On Friday, 24 August 2012 at 17:04:49 UTC, Andrej Mitrovic wrote:
On 8/24/12, Nathan M. Swan <nathanms...@gmail.com> wrote:
Class.new().method() vs. (new Class()).method()

I prefer the latter because it's more explicit that you're throwing
away an object after invocation

I'm not sure if I follow you here – when chaining methods, you are _always_ throwing away the return value temporaries…

David

Reply via email to