Just found it interesting (I don't know the author of this post).
A point to note here is that I have been working in C/C++ for both desktop and embedded development for 20+ years and was actually shocked that as a novice in Erlang I was able to implement it better there than in C++ where I am much more experienced.
http://erlang.org/pipermail/erlang-questions/2017-December/094419.html