Posts in English

Debugging techniques in Elixir

It’s common that our first experience with debugging in a new language is by printing values to the terminal. Elixir isn’t different: we can use IO.puts/2 and IO.inspect/2. However, Elixir also provides other approaches to debugging. In this blog post, we’ll show you other 2 options: IEx.pry/0 and :debugger. IEx.pry The name “pry” is an … »

Inspecting, changing and debugging Elixir project dependencies

You have probably heard that Elixir is very explicit and I’d say the same! One of the things I really like in Elixir projects is that its dependencies are all explicitly included in the deps/ directory. Every time we’re curious about how a dependency works, we can just look at deps/lib-name. After working on a … »

Why we love metrics? Cumulative flow diagrams

One of the big questions that an Agile Coach may face during his career is: How can I help the team to continuously improve the software development process? In this blog posts series, I have been sharing some of Plataformatec best practices that are helping us deliver better projects through a set of metrics and … »

Using Gettext to internationalize a Phoenix application

To translate or not to translate? We have been asking ourselves the same question in one of our latest Phoenix projects. Even though internationalizing our application is planned a bit ahead in our roadmap, we have decided to do an initial evaluation of the translation tools in the Elixir ecosystem, and we were pleasantly surprised … »

Looking at Lead Time in a different way

As we discussed previously in the post Learning with Lead time, analyzing the metric distribution regularly could be a useful tool to improve your software development process. Before continuing this blog post, I would like to suggest you an interesting read about the questions that surround the definition of Lead time. At Plataformatec, we have … »

How to quit the Elixir shell (IEx)?

Okay, you’ve been delving into Elixir. That’s good! 🙂 Of course the first question that pops up in your head is not about immutability, concurrency nor functional programming. It is How can I quit the Elixir shell? Today this question will be answered. Ctrl-C When you start your iex sessions, you are greeted with: Interactive … »