Programming Rules and Conventions
erlang.se
erlang.se
For example:
3.13 Do not program "defensively" suggests that the programmer should allow functions to crash if given unhandled input types. This does not work in most other programming languages to create a fault tolerant application.
A number of advice points about process/module organization also do not apply to most languages.
Tagging messages? Makes sense in lisp (and a few others), but again, not in most languages
Not to trap exits, again Erlang specific.
I could go on and on. Did you even read this?
Incidentally, this applies to languages with exceptions as well. The hardest to catch bugs are when bad behaviour is hidden inside a too general try/catch.
> Not to trap exits, again Erlang specific.
Yes.
Also the seasoned Erlang programmer will find it useful.
If you want to make something private (e.g. your internal implementation) it's better to make it private (resulting in an error if someone accesses it) than to make it public, and write a rule in section 3.11 of a convention document and hope everyone using your code has read it and obeys it.
At last a coding convention guide that deals with something other than syntax. And at the very beginning to boot. If I ever have a say to such things at work, I'm going to take some inspiration from that.
For the most part though, my comment stands, and it is, indeed one of the more unique and charming aspects of erlang.