Pattern matching on multiple objects

Brian Goetz brian.goetz at oracle.com
Sun Apr 23 19:35:50 UTC 2023


>
> > They may come into the lineup at some point, but in the
> > meantime, there are higher-leverage features ahead of it.
>
> Same goes for this too. What's the amber team working on at the moment?

The next target is deconstruction patterns for classes (and 
interfaces).  This will open up some powerful new API design idioms, 
plus lay groundwork for additional language features such as `with` 
expressions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230423/56d84c60/attachment-0001.htm>


More information about the amber-dev mailing list