News for hackers. Stuff that matters.
Re:SmooshGate by trinovantes on Monday October 10, 2022 @09:45PM (#33158528)
How is that any different than any language introducing a new keyword that existing code previously used as variable names? Normally this wouldn't break anything since the developer has to opt in to update the compiler/runtime. The problem is the runtime (browser) autoupdates and the developer has no way to opt out of their code running on the new runtime.
Re:SmooshGate by uup on Monday October 10, 2022 @11:52PM (#33159335)
API changes are way more common than adding keywords. That’s one difference.
Re:SmooshGate by trinovantes on Tuesday October 11, 2022 @05:49AM (#33161309)
Doesn't matter which is more common. All actively developed languages eventually get new keywords and breaking changes. However, most of them will not interfere with existing code running under previously defined behaviors.

Even node 10 applications that use MooTools (i.e. JavaScript executing in a different runtime) will continue to work just fine if `flatten` is added as proposed in node 11+. The developers will eventually need to patch it but it's not like this bug where one day users autoupdate their browser and half the websites they visit are broken.