#patternmatching — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #patternmatching, 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/ -
“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’... -
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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
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
-
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
-
One Open-source Project Daily
Pampy: The Pattern Matching for Python you always dreamed of.
https://github.com/santinic/pampy
#1ospd #opensource #functional #lispinterpreter #patternmatching #python #python3 -
One Open-source Project Daily
Pampy: The Pattern Matching for Python you always dreamed of.
https://github.com/santinic/pampy
#1ospd #opensource #functional #lispinterpreter #patternmatching #python #python3 -
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. -
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. -
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?
-
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?
-
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: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
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: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
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
https://newsletter.tf/mojo-web-stack-gpu-kernel-announced-may-2026/
-
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
https://newsletter.tf/mojo-web-stack-gpu-kernel-announced-may-2026/
-
A new project uses a pure Mojo web stack and a GPU multi-pattern matching kernel. This is a big change for web and visual tech.
#MojoLang, #GPUcomputing, #WebDevelopment, #PatternMatching, #TechNews
https://newsletter.tf/mojo-web-stack-gpu-kernel-announced-may-2026/ -
A new project uses a pure Mojo web stack and a GPU multi-pattern matching kernel. This is a big change for web and visual tech.
#MojoLang, #GPUcomputing, #WebDevelopment, #PatternMatching, #TechNews
https://newsletter.tf/mojo-web-stack-gpu-kernel-announced-may-2026/ -
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: https://javapro.io/de/sind-die-klassischen-design-patterns-mit-modernem-java-noch-gueltig/
-
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: https://javapro.io/de/sind-die-klassischen-design-patterns-mit-modernem-java-noch-gueltig/
-
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. 🚀
https://agis.io/post/dabbling-in-erlang-a-minimal-introduction/ #Fun #TimeLoop #PatternMatching #Programming #HackerNews #ngated -
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. 🚀
https://agis.io/post/dabbling-in-erlang-a-minimal-introduction/ #Fun #TimeLoop #PatternMatching #Programming #HackerNews #ngated -
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/ -
#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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
#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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
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: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
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: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
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: https://javapro.io/2025/12/30/security-in-the-age-of-java-25-new-language-tools-for-safer-code/
-
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: https://javapro.io/2025/12/30/security-in-the-age-of-java-25-new-language-tools-for-safer-code/
-
From the .NET blog...
In case you missed it earlier...
Explore union types in C# 15
https://devblogs.microsoft.com/dotnet/csharp-15-union-types/ #dotnet #csharp #NET11 #PatternMatching #uniontypes -
From the .NET blog...
In case you missed it earlier...
Explore union types in C# 15
https://devblogs.microsoft.com/dotnet/csharp-15-union-types/ #dotnet #csharp #NET11 #PatternMatching #uniontypes -
From the .NET blog...
Explore union types in C# 15
https://devblogs.microsoft.com/dotnet/csharp-15-union-types/ #dotnet #csharp #NET11 #PatternMatching #uniontypes -
From the .NET blog...
Explore union types in C# 15
https://devblogs.microsoft.com/dotnet/csharp-15-union-types/ #dotnet #csharp #NET11 #PatternMatching #uniontypes -
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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
#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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
#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: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
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: https://javapro.io/2025/11/11/algebraic-data-types-and-pattern-matching-java/
-
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: https://javapro.io/2025/11/11/algebraic-data-types-and-pattern-matching-java/
-
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 ;-)
https://link.springer.com/article/10.3758/BF03200827#preview
(no paywall)
#music #InformationProcessing #PatternMatching #algorithms #modeling #CognitiveScience #MusicTechnology #memories
-
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 ;-)
https://link.springer.com/article/10.3758/BF03200827#preview
(no paywall)
#music #InformationProcessing #PatternMatching #algorithms #modeling #CognitiveScience #MusicTechnology #memories
-
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?
-
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?
-
#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: https://javapro.io/2026/02/24/javas-productivity-trifecta-compact-sources-flexible-constructors-and-advanced-pattern-matching/
#PatternMatching -
#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: https://javapro.io/2026/02/24/javas-productivity-trifecta-compact-sources-flexible-constructors-and-advanced-pattern-matching/
#PatternMatching -
Java 17: Die relevanten Features der neuen LTS-Version
-
RE: https://mastodon.social/@h4ckernews/115923499147477767
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
-
RE: https://mastodon.social/@h4ckernews/115923499147477767
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
-
🎩✨ 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! 🥳📚
https://arxiv.org/abs/2601.11432 #patternmatching #research #SimonsFoundation #technews #innovation #HackerNews #ngated -
🎩✨ 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! 🥳📚
https://arxiv.org/abs/2601.11432 #patternmatching #research #SimonsFoundation #technews #innovation #HackerNews #ngated -
The unreasonable effectiveness of pattern matching
https://arxiv.org/abs/2601.11432
#HackerNews #unreasonableeffectiveness #patternmatching #machinelearning #datascience #arxiv #research