4 ms·
> Erlang has the superpowered version of this - binary pattern matching, that lets you pattern match on a bitstream directly. Erlang has a super-powered versio
by masklinn 4y ago
> Erlang has the superpowered version of this - binary pattern matching, that lets you pattern match on a bitstream directly.
Erlang has a super-powered version of the pattern matching bit, but not of what GP actually likes about it:
> you have to handle every case whenever you're matching on it
because Erlang is dynamically typed. So partial patterns are acceptable, and not entirely uncommon.