Using Environment Variables

After writing tests for functions that depended on environment variables became a chore, we asked ourselves a few questions, and arrived at the conclusion that, in our application logic, we might be using environment variables the wrong way.

Function Parameters

Functions are the staple of programming. In this post I recount frustrations programmers have unintentionally created for ourselves by creating functions that take several arguments. I argue that every function should take a maximum of 2 arguments.

Monitoring Go Applications with Monit

Long running Go applications, especially compiled with pre-1.11 releases are a favorite target of the operating system's OOM killer. In this post I describe my setup to resurrect my long running Go application after it has suffered that regrettable fate.