#RecordPatterns

JAVAPROjavapro
2025-12-05

Even if you’ve read the JEPs—have you used to refactor old-school branching logic? @manojnp shows how to turn bloated instanceof trees into readable, idiomatic code with just records.

👉 javapro.io/2025/01/15/record-p

JAVAPROjavapro
2025-10-30

Ever wondered how deep go? @manojnp walks through nested matching, destructuring, & how internally "unwinds" record components in switch & instanceof.

If you're designing or in Java, this one’s for you. javapro.io/2025/01/15/record-p

2023-09-22

Oracle's #Java21 release is here!

The final feature set includes 15 #JEPs.

#VirtualThreads, #RecordPatterns & #PatternMatching for Switch - have completed their respective rounds of previews and are now finalized.

More insights on #InfoQ: bit.ly/3EM5urY

#Java

Hanno Embregts 🎤🎸hannotify@foojay.social
2023-05-04

Big news in the #Java world today! The finalisations of #PatternMatching in switch (openjdk.org/jeps/441) and #RecordPatterns (openjdk.org/jeps/440) are now proposed to target #JDK21. 🥳 (heard it via @nipafx on the bird site)

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst