Erlang and code style – Jesper L. Andersen – Medium

By Erlang Central | Published: May 30, 2017

Correct Erlang usage mandates you do not write any kind of defensive code. This is called intentional programming. You write code for the intentional control flow path which you expect the code to take. And you don’t write any code for the paths which you think are not possible. Furthermore, you don’t write code for data flow which was not the intention of the program.

Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community