#patternMatching

bartosz 🚲🌳🐍🦀btel
2026-01-20

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.

N-gated Hacker Newsngate
2026-01-19

🎩✨ 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 . 🤦‍♂️ Thanks, Simons Foundation, for funding this groundbreaking revelation! 🥳📚
arxiv.org/abs/2601.11432

Python PeakPythonPeak
2026-01-09

Match Statement vs Match Expression: Pattern Matching War

Python 3.10 vs PHP 8 match - both new, both powerful! Which language nailed pattern matching? This will spark debate!

.10

youtube.com/watch?v=gzCvib6GtHg

Multi Purr Puss :verified:platymew@layer8.space
2025-12-30

🧵 2/n Didn't Taran Van Hemert, the video editor who worked for #LinusTechTips, drive #AutoHotkey to it's limit?

I think this tool can do graphical #PatternMatching, click on things, and process scripts(with loops and tests), right?

This could be my 1st #FLOSS project to publish on #GitHub - github.com/PurryPlatypus/twitt.

Turbo Learn PHPTurboLearnPHP
2025-12-29

Match Expression vs Match Statement: Pattern Matching Magic

PHP 8's match expression vs Python 3.10's match statement. Which language's pattern matching is more elegant? You won't believe this!

.10

youtube.com/watch?v=XOGx8q8GAfo

JAVAPROjavapro
2025-12-22

Still coupling logic and data in your code? with records and lets you model valid states cleanly and move logic out of your types.

Learn how, step-by-step with @BalaRawool: javapro.io/2025/11/11/writing-

Riverfount :python_logo:riverfount@bolha.us
2025-12-22

🚀 **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

2025-12-21

Wer mit Java arbeitet, kennt den Operator instanceof wahrscheinlich schon länger. Er wird genutzt, um zu prüfen, ob ein Objekt einer bestimmten Klasse oder einem bestimmten Typ entspricht. Doch seit Java 16 gibt es eine deutliche Verbesserung: Pattern Matching für instanceof. Diese Neuerung sorgt

magicmarcy.de/pattern-matching

#PatternMatching #instanceof #Java16 #Casting #Compiler #Negationen #Programming #Java

2012-02-22

NOTE: this was originally published on the older version of this blog, some content may be broken/outdated.

Following a discussion on hacker news I have found myself wondering about regular expressions in ruby 1.9.

In this major version ruby switched its regex engine to oniguruma (and, since a few days ago to a fork of it called Onigmo ).

This engine is widely more powerful than the […]

https://riffraff.info/2012/02/matching-nested-structures-with-regexps-in-ruby-1-9/

PrecisionSQLPrecisionSQL
2025-12-09

LIKE 'test_%' Matches WHAT?!

LIKE with underscore matches ANY single character! 'test_%' matches 'test1', 'testA', 'test_'. This breaks pattern matching! Watch!

JAVAPROjavapro
2025-12-05

Even if you’ve read the JEPs—have you used to refactor old-school branching logic? @manojnp shows how to turn bloated instanceof trees into readable, idiomatic code with just records.

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

2025-11-29

Wer mit Java arbeitet, kennt den Operator instanceof wahrscheinlich schon länger. Er wird genutzt, um zu prüfen, ob ein Objekt einer bestimmten Klasse oder einem bestimmten Typ entspricht. Doch seit Java 16 gibt es eine deutliche Verbesserung: Pattern Matching für instanceof. Diese Neuerung sorgt

magicmarcy.de/pattern-matching

#PatternMatching #instanceof #Java16 #Casting #Compiler #Negationen #Programming #Java

Riverfount :python_logo:riverfount@bolha.us
2025-11-26

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

2025-11-25

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

3 meters away, in the bushes, a mutilated #bike.

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

#bicycle #traffic #patternMatching #mystery #cycling #roadrage

JAVAPROjavapro
2025-11-14

Complex expressions buried in nested code? ’s sealed types + make business logic more readable & testable. @BalaRawool walks through a real-world example.

Read his article: javapro.io/2025/11/11/writing-

JAVAPROjavapro
2025-11-11

How do you make code more readable and robust? With Algebraic Data Types (records + sealed types) and , you can encode valid state and simplify logic—without extra libraries.

Full guide by Balkrishna Rawool: javapro.io/2025/11/11/writing-

2025-11-10

The term #PatternMatching in #FP means using the structure of the ADTs to dissect (analyse) a data structure into its constituent components (referrered to as "selection" in #TypeTheory).

If we consider #DataStructures to be “alive” at runtime, then pattern matching is not a "dissection", but a "vivisection", of data.

#TheIslandOfDoctorMoreau

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst