24 days ago
It can be confusing sometimes, to know when to use a GenServer. There are a couple of modules, including Task and Agent that may fit your purpose better.
30 Oct 18
Pagination is a common concept in software development. Understanding the difference between offset and cursor pagination is critical to building or working with APIs.
26 Sep 18
Protocols are a way to implement polymorphism in Elixir. There are many use-cases for it, but I'll go through a typical example of interacting with an external API that needs data in a specific structure.
23 Aug 18
A simple way to add basic docker files to your new or existing Docker projects.
26 Jul 18
Working with Tasks means understanding how to send and receive messages in Elixir. To familiarise myself with this concept, I create a simple (naive) Job module.
14 Jul 18
Concurrency is one of the major drawcards for pulling people to the Elixir language. In this article I explain how to use concurrency at it's lowest level - with Processes.
6 Jul 18
Ecto makes composing queries possible through query bindings. Let's take a look at how to compose queries through functions.
27 Jun 18
Streams are a great way to lazily evaluate transformations on collections. Find out how and why you would use a Stream.
25 Jun 18
Once again, I decided to rebuild my own website. This time, I decided to write about why.
9 Jun 18
How to implement a Queue in Elixir
23 Mar 18
A practical example demonstrating how to use Plugs in Elixir.
21 Dec 17
I describe my experiences with technical debt, and why it may not always be a good idea to "move quickly".
15 Aug 17
I describe how to use pattern matching in Elixir, and how it might make you think differently.
6 Jan 17
I share my thoughts and initial experiences with Elixir, a functional programming language.
29 Nov 16
Unit testing can sometimes be a tricky subject no matter what language you’re writing in. In this article, I explain how to get started with testing and stop making excuses for your team.