Re:A Bit Overcomplicated
by macintux on Thursday August 05, 2021 @03:14PM
(#28078179)
The bit syntax in Erlang is for deconstruction and assignment (pattern matching), not just assembling.
The entire language is built around pattern matching to the point where it simply wouldn't exist otherwise, and I assume binary protocol handling was a core requirement when the language was designed since it was created for telecom switches.
The entire language is built around pattern matching to the point where it simply wouldn't exist otherwise, and I assume binary protocol handling was a core requirement when the language was designed since it was created for telecom switches.