2 ms·
That's very variable by language. If strings are interned they are equivalent to enums anyway for example.
by justincormack 14y ago
That's very variable by language. If strings are interned they are equivalent to enums anyway for example.
- ordinary 14y agoColor.Bleu will give a compiler error. "Bleu" will not. And is "White" a valid color? No idea, need to check the docs. Try Color.White and the compiler or editor will tell you.