Elixir in Action

Author: Sasa Jurić
4.5
This Year Hacker News 2
This Month Hacker News 1

Comments

by enraged_camel   2017-08-19
Time-wise, it's hard to say. I went through Saša Jurić's Elixir in Action[1] before diving into Phoenix. But that's because I was coming from an object-oriented background (Ruby, some C#) and wanted a bit more exposure to functional programming.

Elixir is a fairly deep language, but you don't need to know it inside out to become productive with Phoenix. Obviously it depends on what type of app you want to develop, but you can probably piece together a simple CRUD app just by reading the official Phoenix guides. Everyone has a different style of learning though so it's hard to say beyond that. Ultimately, just like with Rails, knowing the language itself (i.e. Ruby) will be very helpful once you get beyond the basics.

Specifically, there were a few things that took a while for me to fully wrap my mind around. For example, data is immutable, so loops are written differently. Instead of a traditional for loop to loop over a collection, you would instead use recursion. So if you're like me and are used to reaching for a for loop or a while loop to iterate over collections, you'll need a bit of time to get used to some of Elixir's mechanisms.

[1]https://www.amazon.com/Elixir-Action-scaron-Juri-cacute/dp/1...

by jbernardo95   2017-08-19
Elixir in Action by Saša Jurić

https://www.amazon.com/Elixir-Action-scaron-Juri-cacute/dp/1...