pietrofxq
I bought 5 PragProg elixir related books. Should I still buy "The little Elixir & OTP Book?"
I’ve bought the following books:
- Programming Elixir 1.6
- Programming Phoenix 1.4
- Programming Ecto
- Functional Web Development with Elixir, OTP, and Phoenix
- Craft GraphQL APIs in Elixir with Absinthe
I’m in the middle of Programming Elixir and really liking it so far. My goal is to build an API service for a mobile app. With all these books, is it worth to also buy The little Elixir & OTP Book? I’ve read some reviews about it and everyone recommends it.
Most Liked
outlog
there is also Elixir In Action (Manning) by @sasajuric
Think both of these goes deeper into OTP than any of the books you list - depending on the complexity of your api service you might not need that much “OTP” - but it’s always good to have an understanding…
also check this one out… Elixir for Programmers (PragDave) (Currently on offer for $30!)
peerreynders
PoolToy: A (toy) process pool manager in Elixir 1.6 updates Chapter 7: Completing the worker-pool application with more recent Elixir features.
pietrofxq
Having finished Elixir in Action by now, my opinion is that this is a must-have book for learning Elixir. The book is way more complete than Programming Elixir, and provides super valuable info about process registry, supervisors, ETS and much more. The book is filled with insights about the nature of BEAM and distributed applications. The only thing that was missing is how to make live upgrades/downgrades, which is briefly mentioned in Programming Elixir, and Macros. However, the author explains Macros in depth on his blog, even better than in Programming Elixir.
Now I’m in the middle of Functional Web Development with Elixir, OTP and Phoenix, then I’ll read Programming Phoenix and Programming Ecto and will give more info about what I learned when I finish them
peerreynders
One could argue that they compete in the same space; they target the programmer who is learning Elixir but they do have a different emphasis once you get past the introductory material.
To me Programming Elixir feels more like a tour of “Elixir, the Language” with some basic “functional programming is quite different” lessons. Elixir in Action drives briskly forward with FP, then gets BEAM-y by discussing the concurrency primitives to then quickly switch over to GenServers and Supervisors and how to build applications with them (Chapter 11.3 Building a Web Server). Of course there are tradeoffs - for example Programming Elixir discusses how to program some basic macros while Elixir in Action merely acknowledges their existence (Don’t Write Macros But Do Learn How They Work). Elixir in Action pursues “thinking and programming BEAM-style” much harder which I personally like but that isn’t necessarily to everybody’s liking or benefit.
I have a friend that has the first edition, is the second edition worth getting or I’ll be fine with the first?
Some of the “drawbacks” are highlighted in
What should I keep in mind if I'm using Elixir in Action today? (i.e. pre-2e)
There’ll likely be multiple opportunities this month to score a 50% discount on the manning site - if you are going to spend your time working with it, it’s likely worth to get hold of the updated version given that Elixir has evolved quite a bit since 2015. Depending on how far you have progressed with Programming Elixir you may be able to drop in at Chapter 5 Concurrency Primitives to then quickly get to the meat of things.
peerreynders
There’ll likely be multiple opportunities this month to score a 50% discount on the manning site
Today is one of those days.








