Re:Java 20 Is Out!
by int_19h on Tuesday March 21, 2023 @02:02PM
(#35249953)
Oh, so you were referring to the specific syntax in the current proposal, rather than pattern matching in general?
Java and C# show how the syntax can be done in a fully backwards-compatible manner. It looks like it's just not the JS way by choice - apparently every new keyword that was added since ES5 is an actual keyword reserved in all contexts, not context-dependent?
Java and C# show how the syntax can be done in a fully backwards-compatible manner. It looks like it's just not the JS way by choice - apparently every new keyword that was added since ES5 is an actual keyword reserved in all contexts, not context-dependent?