> If we want direct language support for resource management, then a proposal 
> should be crafted to add that as a distinct feature.

+1, sort of. But… 

Note that in C#, which has had `IDisposable`/`using` since 1.0 IIRC, all 
enumerables (i.e. `for`-`each`ables) are `IDisposable`, and their `for`-`each` 
*does* include such wrapping-in-`using` (i.e. wrapping-in-`try`-`finally`).

So there is precedent for iteration and resource management being coupled. 
Whether that coupling is necessary, I am not sure.

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to