Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I would like to know some "best practices" for Erlang? [closed]

Tags:

erlang

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.

like image 779
yazz.com Avatar asked Feb 13 '10 12:02

yazz.com


2 Answers

There are a lot of best practices listed on Ericsson's Programming Rules and Conventions page for Erlang. There are many code examples.

like image 156
Bill the Lizard Avatar answered Nov 13 '22 03:11

Bill the Lizard


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.

like image 29
cbo Avatar answered Nov 13 '22 02:11

cbo