Insignificant Truths

Bikeshed

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.