Digests » 272
this week's favorite
Try to remember the first time you heard about this fascinating language called Elixir. Chances are, you had by the time been developing software using Ruby. If that's the case, Elixir seems to have appeared out of nowhere until suddenly, it became the solution for all your previous problems. It is fast, clean, scales extremely well. It was almost like the Ruby you've always wanted to have, but never got.
Much of the Elixir language is written in Elixir, and it may surprise you how many data structures are structs under the hood. Ranges, sets, dates, times–we could build them all ourselves. That’s hidden through their implementation of various protocols provided by Elixir.
Macros are a powerfull part of the Elixir language and projects such as Absinth would not even be possible without them. To start writing your macros in Elixir one has to understand one simple thing. Macro functions have to return a partial abstract syntax tree.
There are some nice new features coming in Elixir 1.11, and one many folks are excited about are some new compile-time checks. The one I’ve heard the most excitment about is the the compile-time check for non-existent fields in structs.
Here is a roundup of some of our favorite talks, shenanigans, and virtual hallway track moments from ElixirConf 2020.