Codeminer42's Engineering Blog

Elixir

  • Elixir/Erlang: Tail Call Optimization is not enough

    · 6 min read · by Edy Silva

    In this article, we'll be talking about a widespread concept of Functional Programming called Tail Call Recursion (or Tail Call Optimization or just Tail Call). If you have been around…

  • Elixir accumulators

    · 6 min read · by Edy Silva

    In our last post on Elixir we learned a bit about loops. In that post, we implemented a simple algorithm to sum numbers in a list. Today we'll keep learning…

  • How to handle loops in Elixir

    · 5 min read · by Edy Silva

    Elixir is a dynamic, functional laguage for building scalable and maintainable applications. This is a short description of Elixir that we can get from it's documentation. Although small, this description…

  • How to Test Shared Behavior in Elixir

    · 9 min read · by Thiago Araújo Silva

    Create a new mix project if you want to follow along: $ mix new calculator $ cd calculator Suppose you have a Calculator module and a sum_list function: defmodule Calculator…

  • Pattern Matching in Elixir

    · 3 min read · by Luiz Varela

    One of the cool things about Elixir is the pattern matching, in this post we will be able to understand about Pattern Matching and how works the pin operator “…