home.social

#recordpatterns — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #recordpatterns, aggregated by home.social.

  1. 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: javapro.io/2026/04/28/pattern-

    #CleanCode #JDK25 @openjdk

  2. 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: javapro.io/2026/04/28/pattern-

    #CleanCode #JDK25 @openjdk

  3. 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.

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

    #Refactoring #PatternMatching #CleanCode

  4. 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. javapro.io/2025/01/15/record-p

    #PatternMatching

  5. 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. javapro.io/2025/01/15/record-p

    #PatternMatching

  6. 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

  7. 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

  8. 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

  9. 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

  10. Oracle's release is here!

    The final feature set includes 15 .

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

    More insights on : bit.ly/3EM5urY

  11. 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)