Draft JEP: Keyword Management for the Java Language
John Rose
john.r.rose at oracle.com
Wed May 1 01:33:46 UTC 2019
On Apr 30, 2019, at 5:50 PM, Alex Buckley <alex.buckley at oracle.com> wrote:
>
> Evolving the Java language often means new keywords for new features, but new keywords risk breaking existing programs. In the Project Amber expert group, Brian Goetz suggested a technique for generating new keywords that balances compatibility and readability -- _hyphenated keywords_ -- and there is already a language feature raring to use it (JEP 354, Switch Expressions).
>
> We have now produced an Informational JEP to record the intent and detail of hyphenated keywords, for Feature JEPs may rely on. It also captures a policy for managing (that is, stewarding) Java's keywords more broadly. Your comments are welcome.
>
> https://bugs.openjdk.java.net/browse/JDK-8223002
Bravo. That's a very good account of a tricky subject. — John
More information about the jdk-dev
mailing list