I'm quite new to Erlang coding and want to know what some of the "best practices" are in industry with code examples if possible.
+5
A:
There are a lot of best practices listed on Ericsson's Programming Rules and Conventions page for Erlang. There are many code examples.
Bill the Lizard
2010-02-13 12:51:49
I had never seen that, thanks!
Zubair
2010-02-13 12:54:29
+1
A:
Also check out http://www.erlang.org/doc/efficiency_guide/users_guide.html The Eight Myths of Erlang Performance section is a pretty good, and short, read.
By far the best way to get a handle on erlang best practices is to peruse the source code of a couple of successful projects. I found the mochiweb source to be especially instructive.
cbo
2010-02-14 23:29:45
That 8 myths is a brilliant read! I would recommend that to anyone considering Erlang and reading all the FUD against it! Thanks
Zubair
2010-02-15 09:29:19