home.social

#patternmatching — Public Fediverse posts

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

fetched live
  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. “From a technical perspective, this is what happens when you let #pattern-matching #machines with no real comprehension of what they are doing freely roam the #internet. It’s everything that I have been warning about for years” open.substack.com/pub/garymarc...

    Three reactions to Anthropics’...

  4. Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.

    Sharpen your mental model before production: javapro.io/2026/03/24/effectiv

    #Java #JVM #CleanCode

  5. Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.

    Sharpen your mental model before production: javapro.io/2026/03/24/effectiv

    #Java #JVM #CleanCode

  6. I agree with you that #LLMs are astoundingly good at what they do.

    I just so disagree with you *thinking* you know what they do.

    #AI #artificialIntelligence #noAI #MarkovChains #patternMatching

  7. I agree with you that #LLMs are astoundingly good at what they do.

    I just so disagree with you *thinking* you know what they do.

    #AI #artificialIntelligence #noAI #MarkovChains #patternMatching

  8. Just for the record; I looked it up:

    SNOBOL by Farber, Griswold and Polonsky was developed at Bell Labs (!), 1962–1967.
    Its patterns are essentially as powerful as context-free grammars, but syntactically they are rather different from regexes.
    Etc.

    I didn't find out if there are any records of SNOBOL influencing Unix regex processing.
    Obviously, that is likely, and it is also likely it has been written up.

    #PatternMatching
    #Regex
    #Regexes
    #Regexp
    #Regexps
    #SNOBOL

    @dougmerritt @ed1conf

  9. Just for the record; I looked it up:

    SNOBOL by Farber, Griswold and Polonsky was developed at Bell Labs (!), 1962–1967.
    Its patterns are essentially as powerful as context-free grammars, but syntactically they are rather different from regexes.
    Etc.

    I didn't find out if there are any records of SNOBOL influencing Unix regex processing.
    Obviously, that is likely, and it is also likely it has been written up.

    #PatternMatching
    #Regex
    #Regexes
    #Regexp
    #Regexps
    #SNOBOL

    @dougmerritt @ed1conf

  10. Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?

    Dive in: javapro.io/2026/02/24/javas-pr

    #Java #PatternMatching

  11. Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?

    Dive in: javapro.io/2026/02/24/javas-pr

    #Java #PatternMatching

  12. Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
    Learn how with Mihaela Gheorghe-Roman: javapro.io/2026/04/28/pattern-

    #CleanCode #PatternMatching #JDK25 #JAVAPRO

  13. Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
    Learn how with Mihaela Gheorghe-Roman: javapro.io/2026/04/28/pattern-

    #CleanCode #PatternMatching #JDK25 #JAVAPRO

  14. Baldr's Glow, Unveiled: A Digital Alchemy in Pure Mojo and GPU's Gaze

    11 new repositories called 'Light of Baldr' combine a pure Mojo web stack and a GPU pattern matching kernel. This could change web development and visual processing.

    #MojoLang, #GPUcomputing, #WebDevelopment, #PatternMatching, #TechNews

    newsletter.tf/mojo-web-stack-g

  15. Baldr's Glow, Unveiled: A Digital Alchemy in Pure Mojo and GPU's Gaze

    11 new repositories called 'Light of Baldr' combine a pure Mojo web stack and a GPU pattern matching kernel. This could change web development and visual processing.

    #MojoLang, #GPUcomputing, #WebDevelopment, #PatternMatching, #TechNews

    newsletter.tf/mojo-web-stack-g

  16. Wer heute noch jedes GoF-Pattern 1:1 implementiert, ignoriert 20 Jahre Sprachentwicklung in #Java. Andreas Jürgensen zeigt, wie #Lambdas, Functional Interfaces & #PatternMatching frühere Pattern-Strukturen ablösen.

    Pflichtlektüre zu #DesignPatterns: javapro.io/de/sind-die-klassis

  17. Wer heute noch jedes GoF-Pattern 1:1 implementiert, ignoriert 20 Jahre Sprachentwicklung in #Java. Andreas Jürgensen zeigt, wie #Lambdas, Functional Interfaces & #PatternMatching frühere Pattern-Strukturen ablösen.

    Pflichtlektüre zu #DesignPatterns: javapro.io/de/sind-die-klassis

  18. Ah, the thrilling world of #Erlang, where variables are forever stuck in a time loop ⏳ and pattern matching is apparently the new Sudoku puzzle for the terminally bored 🤯. For those who yearn for #excitement, nothing screams "edge-of-your-seat" like a #tutorial that thinks single assignment is a revelation worthy of 2013. 🚀
    agis.io/post/dabbling-in-erlan #Fun #TimeLoop #PatternMatching #Programming #HackerNews #ngated

  19. Ah, the thrilling world of #Erlang, where variables are forever stuck in a time loop ⏳ and pattern matching is apparently the new Sudoku puzzle for the terminally bored 🤯. For those who yearn for #excitement, nothing screams "edge-of-your-seat" like a #tutorial that thinks single assignment is a revelation worthy of 2013. 🚀
    agis.io/post/dabbling-in-erlan #Fun #TimeLoop #PatternMatching #Programming #HackerNews #ngated

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

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

  22. #PatternMatching in #Java looks clean—until legacy switch rules get in the way. Subtle edge cases, null handling, and type quirks can turn elegance into bugs. @cayhorstmann breaks down what to watch out for.

    Avoid the traps and write safer code: javapro.io/2026/03/24/effectiv

    #JVM

  23. #PatternMatching in #Java looks clean—until legacy switch rules get in the way. Subtle edge cases, null handling, and type quirks can turn elegance into bugs. @cayhorstmann breaks down what to watch out for.

    Avoid the traps and write safer code: javapro.io/2026/03/24/effectiv

    #JVM

  24. Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
    Learn how with Mihaela Gheorghe-Roman: javapro.io/2026/04/28/pattern-

    #CleanCode #PatternMatching #JDK25 OpenJDK

  25. Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
    Learn how with Mihaela Gheorghe-Roman: javapro.io/2026/04/28/pattern-

    #CleanCode #PatternMatching #JDK25 OpenJDK

  26. Mutable state is a silent security risk. #Java25 gives developers better tools to stop it — before runtime. Mihaela Gheorghe-Roman shows how records & sealed hierarchies make unsafe states impossible by construction.

    Read more: javapro.io/2025/12/30/security

    @openjdk #PatternMatching

  27. Mutable state is a silent security risk. #Java25 gives developers better tools to stop it — before runtime. Mihaela Gheorghe-Roman shows how records & sealed hierarchies make unsafe states impossible by construction.

    Read more: javapro.io/2025/12/30/security

    @openjdk #PatternMatching

  28. #Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?

    Read: javapro.io/2026/02/24/javas-pr

    #PatternMatching

  29. #Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?

    Read: javapro.io/2026/02/24/javas-pr

    #PatternMatching

  30. Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.

    Sharpen your mental model before production: javapro.io/2026/03/24/effectiv

    #Java #JVM #CleanCode

  31. Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.

    Sharpen your mental model before production: javapro.io/2026/03/24/effectiv

    #Java #JVM #CleanCode

  32. #PatternMatching in #Java looks clean—until legacy switch rules get in the way. Subtle edge cases, null handling, and type quirks can turn elegance into bugs. @cayhorstmann breaks down what to watch out for.

    Avoid the traps and write safer code: javapro.io/2026/03/24/effectiv

    #JVM

  33. #PatternMatching in #Java looks clean—until legacy switch rules get in the way. Subtle edge cases, null handling, and type quirks can turn elegance into bugs. @cayhorstmann breaks down what to watch out for.

    Avoid the traps and write safer code: javapro.io/2026/03/24/effectiv

    #JVM

  34. Parsing and evaluating expressions in #Java doesn’t have to be messy. Balkrishna Rawool shows how to simplify expression trees using ADTs and #PatternMatching. Clean, idiomatic, and readable.

    Read the full Guide: javapro.io/2025/11/11/algebrai

    #Java #ProjectAmber #CleanCode #JAVAPRO

  35. Parsing and evaluating expressions in #Java doesn’t have to be messy. Balkrishna Rawool shows how to simplify expression trees using ADTs and #PatternMatching. Clean, idiomatic, and readable.

    Read the full Guide: javapro.io/2025/11/11/algebrai

    #Java #ProjectAmber #CleanCode #JAVAPRO

  36. It’s Friday and in an attempt to remember what it was like when I did music cognition research here is possibly the article I am proudest of: it was a huge challenge to work on but I think it was a pretty good stab at better understanding a complex human behaviour AND testing some algorithmic approaches to solving a musical problem. Hank and I nearly came to blows because of our radically different backgrounds and personality types but all was well in the end. Fortunately Peter was good at keeping us on track ;-)

    link.springer.com/article/10.3

    (no paywall)

    #music #InformationProcessing #PatternMatching #algorithms #modeling #CognitiveScience #MusicTechnology #memories

  37. It’s Friday and in an attempt to remember what it was like when I did music cognition research here is possibly the article I am proudest of: it was a huge challenge to work on but I think it was a pretty good stab at better understanding a complex human behaviour AND testing some algorithmic approaches to solving a musical problem. Hank and I nearly came to blows because of our radically different backgrounds and personality types but all was well in the end. Fortunately Peter was good at keeping us on track ;-)

    link.springer.com/article/10.3

    (no paywall)

    #music #InformationProcessing #PatternMatching #algorithms #modeling #CognitiveScience #MusicTechnology #memories

  38. Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?

    Dive in: javapro.io/2026/02/24/javas-pr

    #Java #PatternMatching

  39. Still wasting time on constructor workarounds just because super() must come first? #Java25 finally removes that 30-year limitation. @bazlur_rahman shows what it means for cleaner initialization. Worth the upgrade?

    Dive in: javapro.io/2026/02/24/javas-pr

    #Java #PatternMatching

  40. #Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?

    Read more: javapro.io/2026/02/24/javas-pr
    #PatternMatching

  41. #Java developers have complained about boilerplate for decades. #Java25’s compact source files aim to change that — making simple programs truly simple. @bazlur_rahman explains what’s new. Curious if this improves your workflow?

    Read more: javapro.io/2026/02/24/javas-pr
    #PatternMatching

  42. RE: mastodon.social/@h4ckernews/11

    A very interesting article on how LLMs might actually work. I am sceptic about the overextension of the work to cognitive sciences but the authors make a good point. I wonder what the actual cognitive scientists might say.

    #llm #ai #science #cognitiveScience #cognition #arxiv #preprint #patternMatching

  43. RE: mastodon.social/@h4ckernews/11

    A very interesting article on how LLMs might actually work. I am sceptic about the overextension of the work to cognitive sciences but the authors make a good point. I wonder what the actual cognitive scientists might say.

    #llm #ai #science #cognitiveScience #cognition #arxiv #preprint #patternMatching

  44. 🎩✨ Behold, the mystical wonders of pattern matching! Apparently, it's so "unreasonably effective" that they needed a whole paper to tell us what we've known since the dawn of #regex. 🤦‍♂️ Thanks, Simons Foundation, for funding this groundbreaking revelation! 🥳📚
    arxiv.org/abs/2601.11432 #patternmatching #research #SimonsFoundation #technews #innovation #HackerNews #ngated

  45. 🎩✨ Behold, the mystical wonders of pattern matching! Apparently, it's so "unreasonably effective" that they needed a whole paper to tell us what we've known since the dawn of #regex. 🤦‍♂️ Thanks, Simons Foundation, for funding this groundbreaking revelation! 🥳📚
    arxiv.org/abs/2601.11432 #patternmatching #research #SimonsFoundation #technews #innovation #HackerNews #ngated