4 ms·
The new `using` feature handles RAII just fine. This proposal is entirely unnecessary given the existence of `using` and the already-existing event listeners. h
by explaininjs 3y ago
The new `using` feature handles RAII just fine. This proposal is entirely unnecessary given the existence of `using` and the already-existing event listeners. https://iliazeus.github.io/articles/js-explicit-resource-management-en/ https://iliazeus.github.io/articles/js-explicit-resource-man...
- lelandfe 3y agoQuite a good link, thanks.
- cyanydeez 3y agoNice, but mixing typescript into a proposed standard just confusing.
- explaininjs 3y agoThe standard doesn't have anything to do with TypeScript, not sure where you got that from? https://github.com/tc39/proposal-explicit-resource-management https://github.com/tc39/proposal-explicit-resource-managemen...
- cyanydeez 3y agoIm referring to the link. Trying to demonstrate a proposed feature usingvtypescript.