Pattern matching in Python - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Torsten Schmits

python is closing in :joy:

The official home of the Python Programming Language
Georgi Lyubenov // googleson78

and people will complain the syntax is unreadable (and possibly rightfully so, because it's tacked on, and not a core part of the language)

Torsten Schmits

to be fair, that's true for a lot of python's language features

James King

I think it's safe to say that the low-hanging features in Haskell will eventually be ported most mainstream languages: ADTs, pattern matching, and possibly guards. Pretty cool though. Makes working with them a bit better even if the syntax is meh.