I personally think we subtilize enums in all the languages. The sentence “Francisco, you can use a Enum here instead of int” comes to my mind.
One thing that I like about c++ enums implementation is that you can break the flow:
All examples are from here . I hope I don’t go to hell to use such clever examples here:
// color may be red (value 0), yellow (value 1), green (value 20), or blue (value 21)
green = 20,
Blue is 21!! Like, breaking the flow!
By the way, I don’t know if you like to search about Defect Reports, it is very helpful actually.
Spending some time on it might save your time in the future actually.