3 ms·
Pattern matching in Python is such a mess. Python 3 eliminated the ability to match on tuples in function heads. For loops can match on tuples, but lambda hea
by macintux 6y ago
Pattern matching in Python is such a mess.
Python 3 eliminated the ability to match on tuples in function heads.
For loops can match on tuples, but lambda headers can’t.
As an Erlang fan, it’s maddening.