Purity in my Programming Please

photo 1452199923474 9ac6f7659ec5

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, Slices, & Arrays in Golang

photo 1540103711724 ebf833bde8d1

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, decided to then … Read more How to: Global Constant Maps, Slices, & Arrays in Golang

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

00overlooked alanturing 3 facebookJumbo

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

photo 1527412470402 714663147471

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

photo 1509248961158 e54f6934749c

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