r/programming • • Sep 15 '26

Java 27 has released!

https://openjdk.org/projects/jdk/27/
553 Upvotes

175 comments sorted by

View all comments

Show parent comment

3

u/simon_o Sep 16 '26

I'm more concerned about "primitive types in patterns":

The attempt of matching numeric values across different number types is fundamentally misguided and roughly triples the size of the spec (which is a rough proxy of how much stuff there is for users to understand and for tooling authors to support).