Composing elixir plugs in a phoenix application


Elixir is a functional language, so it’s no surprise that one of the main building blocks of the request-response cycle is the humble Plug. A Plug will take connection struct (see Plug.Conn) and return a new struct of the same type. It is this concep... read more

Elixir pattern matching in a nutshell


Before being introduced to Elixir, a functional programming language built on top of Erlang, I had no idea what pattern matching was. Hopefully, by the end of this article you will have at least a rudimentary understanding of how awesome it is.

In m... read more

React - One year later


I like learning, continuously improving my skills, and like most things I come across, they take a while to sink in. I’m sure it’s the same for most people.

We get exposed to an idea, come across it on Twitter or through a co-worker, then we think a... read more

No excuses, write unit tests -real


Unit testing can sometimes be a tricky subject no matter what language you’re writing in. There’s a few reasons for this:

There’s fear unit testing will take time your team doesn’t have
Your team can’t agree on an acceptable level of test coverage o... read more

Surviving technical debt in the real world


Technical debt is a potentially crippling disease that can take over your codebase without much warning. One day, you’re building features, the next, you struggle to untangle the mess you (or maybe your team) has created.

The good news is you’re not... read more