Compile-Time Tips and Tricks

Mike Ash: With a bit of trickery, it’s possible to build a check which happens at compile time, late enough so that types are known, but before your program actually runs. There are actually a few different ways to do this, but my preferred way is to declare an array whose size depends on the … Continue reading Compile-Time Tips and Tricks