2 ms·
I worry a bit when I see something like this that people will think Erlang is even clunkier than it actually is. Erlang pattern matching is sufficiently integr
by macintux 10y ago
I worry a bit when I see something like this that people will think Erlang is even clunkier than it actually is.
Erlang pattern matching is sufficiently integral to the language that it effectively wouldn't exist without the feature. It's so much more powerful than "here's a list of data shapes, pick one."
(This concern holds true for a lot of other attempts to take pieces of Erlang and incorporate them into other environments too. Erlang's features are highly complementary to each other, the synergy is the language.)
- digitalzombie 10y agoYup, you take away pattern matching and you can't loop at all in Erlang.