Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it strictly Erlang only or does elixir has it's place in it as part of the ecosystem (no polemic intended here, hope for a direct yes or no)?


Erlang first.

There is a large overlap with Elixir stuff, mostly at a higher level; whatever covers OTP, handling supervision, releases, docker image practices, approaches to testing, production practices, etc. will very likely be useful to Elixir users.

But the lower-level details like handling dependencies, build tool commands, test framework specifics, the code snippets and samples, and so on are all going to be Erlang-specific.

I use both languages frequently for work and there's far more in common between them than there are differences. If that's not your cup of tea and Elixir is really all you're after, you can look for Ben Marx's Adopting Elixir (https://pragprog.com/book/tvmelixir/adopting-elixir) book. We are not affiliated with it and don't aim to cover the same content (we just have similar titles), but it's a good option that goes Elixir-first.


Props for promoting the book of another author.


Anyone who has written a technical book knows that in general they cost a lot in terms of time and don't generate great returns. The best case is probably if it boosts your consulting income or something to that effect.

I've never met Fred, but I feel his book "Learn You Some Erlang" is clearly in another category: it's a "labor of love". I can't speak to his precise motivations, but the book is so rich and thorough, that it's clearly something he worked way harder on than would have been strictly necessary just to whip out a quick book establishing himself as an Erlang Expert. Maybe it was "the Erlang book he wished he'd had when he got started"?

As such, it's one of the few tech books I've bought, and done so quite happily, in recent years.


Well this is technically the fourth one I'm working on. All are available for free online because I want these resources to be accessible first and foremost.

I've got:

Learn You Some Erlang, which has been published with No Starch Press. This was my first one, which I assume is the one you're talking about. Lots of drawings, something I no longer really have the time and energy for these days compared to early in my career. It's the big basics of Erlang. A bit dated now, particularly since the ecosystem evolved around it, but all the basics are still well-covered I think.

Erlang in Anger, only available as a self-published short e-book available for free, meant to teach people to operate Erlang in production.

Property-Based Testing with PropEr, Erlang, and Elixir; my latest published one (with Pragmatic programmers), covering property-based testing both with Erlang and Elixir at once. Pragprog have let me keep the initial website online, which only covered Erlang.

And Adopting Erlang is the latest one. We're still writing it (this time I'm a co-author rather than the sole author), and there's no physical or ISBN'd copy of it available at this point in time.

All of them have to be labours of love, just because it's a lot of work and effort, and at this point in my career, my name's well-known within the Erlang and Elixir communities, so you could say there are diminishing returns. I still enjoy writing though, it's just harder to make time.


I edited my comment to clarify.


unless I'm mistaken your parent is Fred and he is one of the authors.

edit: sorry I glossed over Freds comment and see what you mean now - ignore me xD


thank you for the answer. I'm not too interested in erlang (I'm still learning elixir so 1 horse at a time) but I'll keep your book close since both overlap quite a bit and the OTP part is common to the two languages. Thank you for writing that book !


Purchased!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: