Magic numbers and how to deal with them in C++

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about magic numbers. This post was inspired by a rule from the fourth chapter of Code Craft, by Pete Goodliffe, on Defensive programming. What is a Magic number ? A magic number is a raw number in the code. This … Lire la suite Magic numbers and how to deal with them in C++