Syntax to get same object that method was called on (Easymethodchaining)

Eric Suen at
Mon Oct 26 10:02:17 UTC 2015

What I means is obj.(f1() , f2()) may better than obj.f1()#f2(), thought 
your syntax is shorter.
1. it does not need new operator.
2. # is comment in some other languages
3. if you want result, you can do with obj.(a = f1(), b = f2()) or [a,b] = 
obj.(f1(), f2())

"Edwin Reynoso" <eorroe at>
That's not possible @Eric

On Mon, Oct 26, 2015 at 2:20 AM, Eric Suen 
< at> wrote:

obj.(doSomething(), doSomething2());

you don’t need to introduce new operator.
es-discuss mailing list
mailto:es-discuss at

es-discuss mailing list
es-discuss at 

More information about the es-discuss mailing list