home.social

#patternmatching — Public Fediverse posts

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

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

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

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

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

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

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

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

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

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

  10. 🚀 **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: bolha.blog/riverfount/pattern-

    **Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**

    #Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao

  11. 🚀 **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: bolha.blog/riverfount/pattern-

    **Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**

    #Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao

  12. 🚀 **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: bolha.blog/riverfount/pattern-

    **Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**

    #Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao

  13. 🚀 **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: bolha.blog/riverfount/pattern-

    **Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**

    #Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao

  14. 🚀 **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: bolha.blog/riverfount/pattern-

    **Teste um exemplo hoje e comente: qual use case você vai aplicar primeiro?**

    #Python #PatternMatching #MatchCase #Python310 #DevTips #Programacao

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

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

    Leia mais: bolha.blog/riverfount/pattern-

    #Python #PatternMatching #DevTips #Programação

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

    Leia mais: bolha.blog/riverfount/pattern-

    #Python #PatternMatching #DevTips #Programação

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

    Leia mais: bolha.blog/riverfount/pattern-

    #Python #PatternMatching #DevTips #Programação

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

    Leia mais: bolha.blog/riverfount/pattern-

    #Python #PatternMatching #DevTips #Programação

  20. Yesterday morning I noticed some electronics on the ground. , empty SD card slot, battery, buttons. Dash cam remains?

    3 meters away, in the bushes, a mutilated .

    It's hard not to connect the dots on this one...

  21. #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: javapro.io/2025/06/17/modern-j

    #PatternMatching #ModernJava #VirtualThreads #ProjectLoom

  22. #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: javapro.io/2025/06/17/modern-j

    #PatternMatching #ModernJava #VirtualThreads #ProjectLoom

  23. #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: javapro.io/2025/06/17/modern-j

    #PatternMatching #ModernJava #VirtualThreads #ProjectLoom

  24. #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: javapro.io/2025/06/17/modern-j

    #PatternMatching #ModernJava #VirtualThreads #ProjectLoom

  25. #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: javapro.io/2025/06/17/modern-j

    #PatternMatching #ModernJava #VirtualThreads #ProjectLoom

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