tags:

views:

127

answers:

2

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
I had never seen that, thanks!
Zubair
+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
That 8 myths is a brilliant read! I would recommend that to anyone considering Erlang and reading all the FUD against it! Thanks
Zubair