[Erlang] Learn You Some Erlang for Great Good! (No Starch Press) (Free)

by by Fred Hebert

Erlang is the language of choice for programmers who want to write robust, concurrent applications, but its strange syntax and functional design can intimidate the uninitiated. Luckily, there’s a new weapon in the battle against Erlang-phobia: Learn You Some Erlang for Great Good!

Erlang maestro Fred Hébert starts slow and eases you into the basics: You’ll learn about Erlang’s unorthodox syntax, its data structures, its type system (or lack thereof!), and basic functional programming techniques. Once you’ve wrapped your head around the simple stuff, you’ll tackle the real meat-and-potatoes of the language: concurrency, distributed computing, hot code loading, and all the other dark magic that makes Erlang such a hot topic among today’s savvy developers.

As you dive into Erlang’s functional fantasy world, you’ll learn about:

  • Testing your applications with EUnit and Common Test
  • Building and releasing your applications with the OTP framework
  • Passing messages, raising errors, and starting/stopping processes over many nodes
  • Storing and retrieving data using Mnesia and ETS
  • Network programming with TCP, UDP, and the inet module
  • The simple joys and potential pitfalls of writing distributed, concurrent applications
  • Packed with lighthearted illustrations and just the right mix of offbeat and practical example programs, Learn You Some - Erlang for Great Good! is the perfect entry point into the sometimes-crazy, always-thrilling world of Erlang.


Or read for free online: http://learnyousomeerlang.com


This book covers a lot of ground. It is not just about the language itself but very much how to write functional and how to use the features of Erlang to build systems. Especially the latter makes it interesting for Elixir users as well.

And as I mentioned in other places I think the Erlang language is simpler then Elixir so I don’t think that understanding the code will be difficult.


This is certainly one of the best books for introducing Erlang. The ease of reading is one of the biggest advantages of this book and also it’s free on the website, which is awesome :slight_smile:


… and read (try) it online:


Sometimes this is a good place to get it: