How Game Dev and Physics Constants Made Me Think About Religion

photo 1495954222046 2c427ecb546d

I am an atheist and developer, I’ve found it surprising how often these two identities collide. I’m fascinated when something that deals with engineering directly influences my views on theism, or at least makes me consider new ideas. When building a game engine, even the most basic one, it becomes apparent that certain constants must … Read more

How to Create Constant Maps, Slices, & Arrays in Golang

How to Create Constant Maps and Slices in Go

For the most part, I’ve noticed that Go developers are pretty good about using global constants for 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, … Read more