Re:What's new in Java 12, 13 and 14
by macintux on Tuesday December 17, 2019 @08:49AM
(#21813371)
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.
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.