News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by dunefox on Wednesday February 10, 2021 @09:36AM (#26089655)
I can only agree. Compared to other languages I find Python increasingly difficult to reason about, mainly due to its dynamicity. If the language complexity increases as well from now on I don't think I will use Python unless absolutely necessary.

Meanwhile, Julia supports pattern matching due to macros: https://github.com/kmsquire/Match.jl

Re:Pattern matching accepted for Python by eigenspace on Wednesday February 10, 2021 @12:46PM (#26092371)
Unfortunately Match.jl has gone unmaintained for a while, but we do have MLStyle.jl

https://github.com/thautwarm/MLStyle.jl

https://thautwarm.github.io/MLStyle.jl/latest/syntax/pattern...

Re:Pattern matching accepted for Python by dunefox on Wednesday February 10, 2021 @01:19PM (#26092837)
That looks great, thanks.
Re:Pattern matching accepted for Python by eigenspace on Wednesday February 10, 2021 @01:23PM (#26092890)
Some of the english documentation can be quite hard to read, but the code is very useful. Submitting PRs to improve the documentation is welcomed by maintainers.