New candidate JEP: 456: Unnamed Variables and Patterns
David Alayachew
davidalayachew at gmail.com
Mon Sep 25 20:12:21 UTC 2023
Hello Mark,
Thank you for posting this! Very excited to see this come out.
Is this the first time a JEP has jumped from Preview to GA with only one
round of Preivew? I know the default is 2 rounds, and then there are some
like Sequenced Collections that don't require any preview at all.
Thank you for your time and help!
David Alayachew
On Mon, Sep 25, 2023 at 12:25 PM Mark Reinhold <mark.reinhold at oracle.com>
wrote:
> https://openjdk.org/jeps/456
>
> Summary: Enhance the Java language with unnamed variables, which
> can be initialized but not used, and unnamed patterns, which match a
> record component without stating the component's name or type. Both are
> denoted by an underscore character, _.
>
> - Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230925/da02bc13/attachment.htm>
More information about the jdk-dev
mailing list