News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by explaininjs on Sunday March 31, 2024 @03:07PM (#39887074)
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-man...
Re:A proposal to add signals to JavaScript by lelandfe on Sunday March 31, 2024 @06:53PM (#39888925)
Quite a good link, thanks.
Re:A proposal to add signals to JavaScript by cyanydeez on Sunday March 31, 2024 @07:38PM (#39889323)
Nice, but mixing typescript into a proposed standard just confusing.
Re:A proposal to add signals to JavaScript by explaininjs on Sunday March 31, 2024 @10:46PM (#39890422)
The standard doesn't have anything to do with TypeScript, not sure where you got that from? https://github.com/tc39/proposal-explicit-resource-managemen...
Re:A proposal to add signals to JavaScript by cyanydeez on Monday April 01, 2024 @07:53PM (#39900823)
Im referring to the link. Trying to demonstrate a proposed feature usingvtypescript.