Sharing my experience with Switch Expressions

David Alayachew davidalayachew at gmail.com
Sun May 11 14:48:36 UTC 2025


Let me also add one thing.

>
I had started this project before Record Patterns had been released. So, it
was only incidentally that I had ended up using a set of nested Switch
Expressions -- I was forced to back then.

I know for a fact that, had I been given the opportunity, I would have done
things flat from the beginning. Nesting switch expressions is definitely
not my first choice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20250511/78efe6e6/attachment.htm>


More information about the amber-dev mailing list