<< Part 1 — Initial Barebones Setup
Welcome back! This time we’ll focus on how to generate and surface our API’s documentation, adding a route to help explore, and update…
The last post took a little look into the concept of atoms in Elixir and how they are used. This post will cover one of options that Elixir provides for extensibility, protocols.
When getting started with Elixir and Phoenix there is plenty of help online with setting up a Phoenix app with the local HTML and JavaScript stack but few that focus on a pure API. I know that when I start learning a new…
This is a quick post to highlight what we found is an easy mistake to make when encountering the match? macro. Which from the documentation is:
So one question we’ve had with regards to Elixir unit testing is “how do we test functions which take functions as arguments?” This article aims to illustrate the approach we’ve adopted that doesn’t require mocks, stubs, spies or any library other…
The last post took a peek at how functions can be defined and passed around in Elixir. This post centres around atoms and some of their not so obvious traits.
The last post covered some bits and bobs about Elixir variable rebinding. This post will aim to cover some interesting things we have learned about defining, and passing around functions in Elixir.
Here at everydayhero we are starting to use more and more Elixir in production systems, so as more of the team start to learn the language and it’s frameworks, we thought it might be nice to share some of the interesting tidbits that we encounter along the way. The tidbit we would…