In the previous chapter, we talked about functional programming, installed Elixir, and tried a few elementary examples.
In this chapter, we are going to go into depth on the syntax and basic built-in types and operators of Elixir (and implicitly, Erlang). We are going to explore some more structural elements of Elixir code and begin our discussion of pattern matching.
We have hinted at this concept in the previous chapter, but let's discuss it in more detail here.
In Elixir, there are no statements. Everything is an expression. Let's break this down. Statements typically refer to instructions where the programmer specifies to the computer or runtime ...