« Return to Thread: optional "function" keyword

Re: optional "function" keyword

by David Herman :: Rate this Message:

| View in Thread

On Mar 6, 2012, at 1:50 PM, Brendan Eich wrote:

> Just replied to Isaac on this. We run into the completion-value leak objection and I do not see a way around it.

One way around it is to question the hazard. :)

Seriously, whether

    {|x| f() }

or

    (x) { f() }

is more likely to be an accidental leak is an empirical question, and not one I can guess just by looking at the syntax.

Dave

_______________________________________________
es-discuss mailing list
es-discuss@...
https://mail.mozilla.org/listinfo/es-discuss

 « Return to Thread: optional "function" keyword