↧
How Enums Spread Disease — And How To Cure It
Poorly handled enums can infect code with fragility and tight coupling like a digital Typhoid Mary. Say you’re writing software that optimizes traffic flow patterns, and you need to model different...
View ArticleVariadic macros tricks
Have you ever wanted to write a “for each” loop over all the args of a variadic macro? Or have you ever wanted to overload a macro on the number of arguments? (If you’re saying to yourself, “good...
View Article