4 ms·
Unsurprising; one of the key benefits of Erlang is its robust pattern matching [0]. When you're dealing with protocols, the ability to match specific cases and
by biot 10y ago
Unsurprising; one of the key benefits of Erlang is its robust pattern matching [0]. When you're dealing with protocols, the ability to match specific cases and automatically assign matching variables without convoluted nested spaghetti logic is a huge benefit.
[0] http://learnyousomeerlang.com/syntax-in-functions#pattern-matching http://learnyousomeerlang.com/syntax-in-functions#pattern-ma...