#recordpatterns — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #recordpatterns, aggregated by home.social.
-
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Even if you’ve read the JEPs—have you used #RecordPatterns to refactor old-school branching logic? @manojnp shows how to turn bloated instanceof trees into readable, idiomatic #Java code with just records.
👉 https://javapro.io/2025/01/15/record-patterns-building-on-java-records/
-
Ever wondered how deep #RecordPatterns go? @manojnp walks through nested matching, destructuring, & how #Java internally "unwinds" record components in switch & instanceof.
If you're designing #APIs or #DSLs in Java, this one’s for you. https://javapro.io/2025/01/15/record-patterns-building-on-java-records/
-
Ever wondered how deep #RecordPatterns go? @manojnp walks through nested matching, destructuring, & how #Java internally "unwinds" record components in switch & instanceof.
If you're designing #APIs or #DSLs in Java, this one’s for you. https://javapro.io/2025/01/15/record-patterns-building-on-java-records/
-
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: https://bit.ly/3EM5urY
-
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: https://bit.ly/3EM5urY
-
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: https://bit.ly/3EM5urY
-
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: https://bit.ly/3EM5urY
-
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: https://bit.ly/3EM5urY
-
Big news in the #Java world today! The finalisations of #PatternMatching in switch (https://openjdk.org/jeps/441) and #RecordPatterns (https://openjdk.org/jeps/440) are now proposed to target #JDK21. 🥳 (heard it via @nipafx on the bird site)