Purity in my Programming Please

Pure functions are often hyped up in the Javascript world, probably because of the abundance of state in front end applications. While pure functions have their downsides (i.e. inconvenience, potentially large argument lists), I believe they should be used as much as reasonably possible, and I want to focus on pure functions in Go. What … Read more Purity in my Programming Please

How to: Global Constant Maps and Slices in Go

For the most part, Go developers are pretty good about using constants for global configuration, rather than global variables. A problem arises however when we want a constant slice, array, or map. The go compiler doesn’t allow these more complex types to be set as constant. Many developers, upon making this realization, decide to then … Read more How to: Global Constant Maps and Slices in Go

Learning Some Computer Science will Make You a Better (And More Expensive) Engineer

Software Engineering != Computer Science Software engineering is the process of analyzing user needs and designing, constructing, and testing end user applications that will satisfy these needs through the use of software programming languages Techopedia Computer Science is the science that deals with the theory and methods of processing information in digital computers, the design … Read more Learning Some Computer Science will Make You a Better (And More Expensive) Engineer

Constants in Go vs Javascript, and When to Use Them

Constants can be confusing and easy to misuse in Go if you are coming from an untyped language. In this article we will learn what constants are, and when it is best to make use of them. Most of the points I make here apply to general-purpose programming languages as a whole, but by focusing … Read more Constants in Go vs Javascript, and When to Use Them

Systems and Processes that Aren’t in Code are Terrifying

The dreaded: You may recognize this as a unix cronjob, a job that is scheduled to run on a server periodically. You may be thinking, “Why is that scary? We use cronjobs all the time!” If the code that manages the crontab is source controlled and exists within the organization’s central repositories, then I actually … Read more Systems and Processes that Aren’t in Code are Terrifying