hownot2code.com
Start using enum class in your code, if possible
Consider yourself lucky if you write in C++; we recommend that you start using enum class right now and the compiler won’t let you compare values, that refer to different enumerations. You wo…