Hacker News new | ask | show | jobs
by Jeff_Brown 1496 days ago
I taught myself Erlang last year and loved it until I tried to write an application. The OTP documentation, while voluminous, was confusing and seemed to have important omissions, and I found little if any community.
2 comments

There is a huge community, not just in Erlang, but in the larger BEAM ecosystem. Have you tried the Erlanger or Elixir slack? We also have https://erlangforums.com/ and https://elixirforum.com/. For smaller BEAM languages like Gleam, we have Discord available https://discord.com/invite/Fm8Pwmy

There's a lot of great stuff in the BEAM ecosystem, I would caution on writing it off too fast

I know there's a lot of power there. Whatsapp was written in OTP and had something like half the world using it with a development team of maybe 12.

I'm glad to hear the community is bigger than what I found. I don't actually remember that search process. What I remember clearest was running into the brick wall of the OTP documentation.

If you'd want to try again, I can recommend "Elixir in Action" [1]. It has a great introduction to the basics of OTP later on in the book. I understood it much better after reading that book that any other materials.

While the book is about Elixir (which is a BEAM language) the underlying OTP principles are the same. The book covers "basic" OTP before moving on to some abstractions that Elixir provides.

[1] https://www.manning.com/books/elixir-in-action-second-editio...

I second this recommendation, it's an excellent book.
I'm not sure on your exact timeline, but the documentation has also seen several upgrades.

For example, see the "telemetry" library, written in Erlang and published to the Hex repository. Its documentation is built using the Elixir-based ex_doc https://hexdocs.pm/telemetry/readme.html

OTP is different, but there are a lot of good resources for understanding it. I liked:

Elixir in Action.

The Little OTP Book.

Designing Elixir Systems with OTP.

Pragmatic Studio's Elixir OTP course.