#patternmatching — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #patternmatching, aggregated by home.social.
-
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 -
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
-
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 -
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/
-
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
-
🚀 **Pattern Matching em Python: Diga adeus às árvores de if/elif verbosos!** 💻
Acabei de publicar um guia técnico completo sobre o **match/case** do Python 3.10+: destructuring de listas, dicts, classes, guards e como ele **aniquila** o switch case tradicional de C/Java. Exemplos práticos para APIs REST, eventos JSON e full-stack!
Por que usar?
- Código 50-70% mais limpo
- Sem fallthrough bugs
- Poder estrutural nativo👉 Leia agora: https://bolha.blog/riverfount/pattern-matching-em-python-revolucione-seu-codigo-alem-do-switch-case
**Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**
#Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao
-
🚀 **Pattern Matching em Python: Diga adeus às árvores de if/elif verbosos!** 💻
Acabei de publicar um guia técnico completo sobre o **match/case** do Python 3.10+: destructuring de listas, dicts, classes, guards e como ele **aniquila** o switch case tradicional de C/Java. Exemplos práticos para APIs REST, eventos JSON e full-stack!
Por que usar?
- Código 50-70% mais limpo
- Sem fallthrough bugs
- Poder estrutural nativo👉 Leia agora: https://bolha.blog/riverfount/pattern-matching-em-python-revolucione-seu-codigo-alem-do-switch-case
**Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**
#Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao
-
🚀 **Pattern Matching em Python: Diga adeus às árvores de if/elif verbosos!** 💻
Acabei de publicar um guia técnico completo sobre o **match/case** do Python 3.10+: destructuring de listas, dicts, classes, guards e como ele **aniquila** o switch case tradicional de C/Java. Exemplos práticos para APIs REST, eventos JSON e full-stack!
Por que usar?
- Código 50-70% mais limpo
- Sem fallthrough bugs
- Poder estrutural nativo👉 Leia agora: https://bolha.blog/riverfount/pattern-matching-em-python-revolucione-seu-codigo-alem-do-switch-case
**Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**
#Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao
-
🚀 **Pattern Matching em Python: Diga adeus às árvores de if/elif verbosos!** 💻
Acabei de publicar um guia técnico completo sobre o **match/case** do Python 3.10+: destructuring de listas, dicts, classes, guards e como ele **aniquila** o switch case tradicional de C/Java. Exemplos práticos para APIs REST, eventos JSON e full-stack!
Por que usar?
- Código 50-70% mais limpo
- Sem fallthrough bugs
- Poder estrutural nativo👉 Leia agora: https://bolha.blog/riverfount/pattern-matching-em-python-revolucione-seu-codigo-alem-do-switch-case
**Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**
#Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao
-
🚀 **Pattern Matching em Python: Diga adeus às árvores de if/elif verbosos!** 💻
Acabei de publicar um guia técnico completo sobre o **match/case** do Python 3.10+: destructuring de listas, dicts, classes, guards e como ele **aniquila** o switch case tradicional de C/Java. Exemplos práticos para APIs REST, eventos JSON e full-stack!
Por que usar?
- Código 50-70% mais limpo
- Sem fallthrough bugs
- Poder estrutural nativo👉 Leia agora: https://bolha.blog/riverfount/pattern-matching-em-python-revolucione-seu-codigo-alem-do-switch-case
**Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**
#Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao
-
LIKE 'test_%' Matches WHAT?!
LIKE with underscore matches ANY single character! 'test_%' matches 'test1', 'testA', 'test_'. This breaks pattern matching! Watch!
#sql #sqltricks #database #sqltutorial #like #patternmatching #sqlquiz #codingchallenge #sqlshorts #sqlbugs #wildcards #sqlwtf
-
Quer dar um salto na sua programação Python? 🚀 Descubra como dominar o Pattern Matching avançado com guards, padrões OR/AND e saiba evitar armadilhas que podem comprometer seu código!
Este artigo técnico detalhado mostra como refinar seu controle de fluxo com estrutura clara e expressiva — essencial para desenvolvedores que buscam elegância e eficiência.
-
Quer dar um salto na sua programação Python? 🚀 Descubra como dominar o Pattern Matching avançado com guards, padrões OR/AND e saiba evitar armadilhas que podem comprometer seu código!
Este artigo técnico detalhado mostra como refinar seu controle de fluxo com estrutura clara e expressiva — essencial para desenvolvedores que buscam elegância e eficiência.
-
Quer dar um salto na sua programação Python? 🚀 Descubra como dominar o Pattern Matching avançado com guards, padrões OR/AND e saiba evitar armadilhas que podem comprometer seu código!
Este artigo técnico detalhado mostra como refinar seu controle de fluxo com estrutura clara e expressiva — essencial para desenvolvedores que buscam elegância e eficiência.
-
Quer dar um salto na sua programação Python? 🚀 Descubra como dominar o Pattern Matching avançado com guards, padrões OR/AND e saiba evitar armadilhas que podem comprometer seu código!
Este artigo técnico detalhado mostra como refinar seu controle de fluxo com estrutura clara e expressiva — essencial para desenvolvedores que buscam elegância e eficiência.
-
#Java now lets you match inside records, compare primitives, & run full apps without touching #Maven. @ronveen takes you inside a version where syntax, tooling & mindset finally align.
Start here: https://javapro.io/2025/06/17/modern-java/
-
#Java now lets you match inside records, compare primitives, & run full apps without touching #Maven. @ronveen takes you inside a version where syntax, tooling & mindset finally align.
Start here: https://javapro.io/2025/06/17/modern-java/
-
#Java now lets you match inside records, compare primitives, & run full apps without touching #Maven. @ronveen takes you inside a version where syntax, tooling & mindset finally align.
Start here: https://javapro.io/2025/06/17/modern-java/
-
#Java now lets you match inside records, compare primitives, & run full apps without touching #Maven. @ronveen takes you inside a version where syntax, tooling & mindset finally align.
Start here: https://javapro.io/2025/06/17/modern-java/
-
#Java now lets you match inside records, compare primitives, & run full apps without touching #Maven. @ronveen takes you inside a version where syntax, tooling & mindset finally align.
Start here: https://javapro.io/2025/06/17/modern-java/
-
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