3 ms·
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 inc
by dunefox 6y ago
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 https://github.com/kmsquire/Match.jl
- eigenspace 6y agoUnfortunately Match.jl has gone unmaintained for a while, but we do have MLStyle.jl https://github.com/thautwarm/MLStyle.jl https://github.com/thautwarm/MLStyle.jl https://thautwarm.github.io/MLStyle.jl/latest/syntax/pattern.html https://thautwarm.github.io/MLStyle.jl/latest/syntax/pattern...
- dunefox 6y agoThat looks great, thanks.
- eigenspace 6y agoSome 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.