One of the coolest thing about elixir is pattern matching in functions.
It eliminates dumb forking, the canonical example being fibonacci. In ruby it looks like this: