3 ms·
Erlang is where I first encountered pattern matching, and it's so integral to the language it simply would cease to exist without it. I was pleasantly surprise
by macintux 7y ago
Erlang is where I first encountered pattern matching, and it's so integral to the language it simply would cease to exist without it.
I was pleasantly surprised when I discovered Python 2 would pattern match tuples in function parameters...and then very disappointed when I discovered a few weeks later that Python 3 had removed even that minimal amount of syntactic sugar.