>
>
> I also note
> this is the first JS construct that would introduce the notion of
> resource acquisition and also of implicit finallies.
>

And that is why late changes like this are risky.  As far as I know,
there's been no published work exploring how this aspect of for-of would
interact with future designs which might address resource management in
general.

Furthermore, as far as I know we have absolutely no real-world experience
with how such an auto-cleanup construct would actually fare in javascript.
 There is no time to do the homework that this effort would properly
require.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to