Using Test Driven Development.

Make sure you have a recent version of erlang and rebar installed when trying it yourself.

Get Erlang through your standard package/port system. In this screencast I used R15B01.
Get Rebar from Github and follow the instructions:

Code Samples:

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…