2 ms·
And is it going to be anything similar in Python? From the looks of it, Python's pattern matching is nothing like OCaml's or Erlang's, but perhaps I am wrong.
by johnisgood 6y ago
And is it going to be anything similar in Python? From the looks of it, Python's pattern matching is nothing like OCaml's or Erlang's, but perhaps I am wrong.
- macintux 6y agoWell, Erlang is built around pattern matching as a core concept that applies to every statement, so it’s safe to say it’ll be much more limited in utility in Python. Still, it looks like a decent addition.