News for hackers. Stuff that matters.
Re:TypeScript 5.2's New Keyword: 'using' by MrJohz on Monday June 19, 2023 @09:33AM (#36390911)
Kind of the other way round. If you have code that has a function named `dispose`, it will keep on working just fine, nothing needs to be renamed (not now, and not in the future when you want to start using `using`).

The symbol `Symbol.dispose` is special, unlike any normal string or identifier, because it didn't exist until the new standard, so existing code can't have been using it. This guarantees a level of backwards compatibility that wouldn't exist otherwise.

There are no comments on this comment yet.