3 ms·
A new reason to program in Erlang/Elixir... The thrill of transgressing against societal norms! Explaining the joke: The basic list data type is a singly linke
by Terr_ 3y ago
A new reason to program in Erlang/Elixir... The thrill of transgressing against societal norms!
Explaining the joke: The basic list data type is a singly linked-list, for reasons of memory-efficiency when spawning lots of different processes that refer to subsequences of the list. So if you want to append, you need to reverse, prepend, and reverse again.