[ https://issues.apache.org/jira/browse/GROOVY-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806751#comment-17806751 ]
Jochen Theodorou commented on GROOVY-11229: ------------------------------------------- [~emilles][~daniel_sun] The de-structuring also give access to x and y? That is something still available through o or p of course, but the jep441 also targets further nesting. So yes, the Java16 version is a bit useless to us, the Java21 version though I see differently. Well... to be frank I find this feature massively overrated. And there is more coming of this in the future from Java... > Support pattern matching and destructure > ---------------------------------------- > > Key: GROOVY-11229 > URL: https://issues.apache.org/jira/browse/GROOVY-11229 > Project: Groovy > Issue Type: New Feature > Reporter: Daniel Sun > Priority: Major > > See also: > [https://openjdk.org/jeps/394] > [https://openjdk.java.net/jeps/440] > [https://openjdk.org/jeps/441] -- This message was sent by Atlassian Jira (v8.20.10#820010)