Enumerators vs Magic no.s
I understand that it is not is good idea to use magic no.s ..but just take a look at the situation..
I need to describe a token..
A would be sufficient for containing all the data..whether it is a number...or an operator....what type of operator...no of operands...etc etc....but it would scatter seemingly meaningless
^ like statements through the whole code..
So, is it a better Idea to use 4 or 5 different enumerators?..
&& Also ..is there a hidden difference in performance..?..although I know that enums are basically numbers...still there could be something..!