Elixir Month


3 min read

Yes, the Elixir. I’ve decided to use the cold February weather, as well as the relative project calm, and see how far I can go with it.

But why Elixir and why just now?

There are a few reasons. Actually, this is not my first encounter with the language or the Erlang/BEAM ecosystem. About a year ago, a colleague at work and I started doing lunch break walks, in which we discussed tech topics, beyond the scope of our current projects. My colleague is a big Elixir fan and has mentioned many times the advantages of Erlang and the BEAM VM. More than anything else, one thing struck me the most. All of the challenges that the cloud community of today is trying to tackle, such as:

  • resilience
  • scalabiltiy
  • distribution
  • deployment

etc, have already been thought about, and solved by a research group at Ericsson around three decades ago (albeit, at a smaller scale). Sure, Erlang is not an easy language to work with, but thanks to José Valim and his work on Elixir, it wouldn’t even be necessary. So, about a year back, I took my first plunge.

That’s not for me

I got out of the water just as quickly as I got in there. Sure, Elixir is not nearly as obscure as Erlang, but it can be a bit overwhelming for the newcomer. Especially, if one is trying to swallow the whole OTP bit at the same time. At the time, I had discovered the simplistic philosophy of Golang, and despite all the alleged advantages, Elixir seemed way too much overhead. I (in)famously dismissed the language, as one where “the amount of punctuation might give you a headache”. Let alone the fact that similar to Java applications, Elixir ones also need the entire kitchen sink to be in place for an application to run. Compare this to a statically-bound Go app that you just throw onto a machine and you are good to go.

Crystal enters the stage

As a side note, I have to mention that part of why I dropped my initial foray into Elixir was because of a bias. I felt that it was too, Ruby-esque, whatever that must have meant to me at the time. I have somehow missed the early Ruby and Rails train around 15 years ago. My programming career set me on a different path. I have always been aware of Ruby’s community spirit, but only during the past year, did I come to appreciate the language and its writing aesthetic. Ironically, not through a Ruby itself, but via a wonderful derivative language, named Crystal. I already went into more detail about Crystal in a previous post.

The more I started dabbling into Crystal, the more I started looking at its inspiration - Ruby. Ruby is certainly not a language without flaws, and the community is trying to work on those. Partially, via addressing those issues at the core - Ruby 3.0 is expected to arrive at the end of this year. Yet, others are taking what the language is best known for, and applying it to other paradigms - such as Elixir’s functional approach to programming.

Second attempt: Elixir Month

My second attempt to tackle Elixir seems to go much more smoothly than the first one. One day, I had the feeling that the constructs in the language just clicked for me- even the nasty OTP ones. I set out out a goal for myself to use Elixir for a month during February, and see how far I can go with it.


Some starting resources

Elixir in Action
The Elixir language blends the battle-tested power and stability of the Erlang virtual machine with an approachable and expressive syntax...

Really, one of the best books on starting with Elixir. If you enjoy it, please help me support this site by buying it on Amazon.

Let Saša Jurić himself convince you:


Previous article

A Crystal in Go’s World

Imagine a programming language with the ergonomic syntax of Ruby, the speed of execution of C, the concurrency model of Go, and last but not

Next article

iEx Is Dope

iEx (Elixir's interactive shell) is pure dope! It helped bring my development efforts back to the "let's play and see what happens" level. Since Elixir


Related Articles

This Week in Elixir and Erlang #5
4 min read
This Week in Elixir and Erlang #4
3 min read
This Week in Elixir and Erlang #3
3 min read
This Week in Elixir and Erlang #2
4 min read
This Week in Elixir and Erlang
2 min read

GO TOP