Compiling code is easy. However, what happens when the code you want to compile doesn't exist yet? Here I explore how to get CMake to generate files which are then used in the project.
Unit testing is simple, and frameworks make it complicated. In a large, complex project, a full fledged framework may be necessary. However, don't let a complex framework distract you from testing goals.
Chaining if statements happens alot when creating equals and other comparison functions. It looks overly verbose, and writing a wrapper makes it easier to grok.
Legacy post: Virtual File Systems are everywhere. Each has its strengths and weaknesses, but they all provide a level of abstraction to resource accesses. In game development, you want that abstraction to remove dependences in your loading process. But why not just use fopen? What can a VFS do for a videogame?