Re:Want to learn to code? Don't copy and paste, type out oth...
by justincormack on Saturday December 15, 2012 @07:04AM
(#4925168)
That's very variable by language. If strings are interned they are equivalent to enums anyway for example.
[ Parent
| on HN ]
Re:Want to learn to code? Don't copy and paste, type out oth...
by ordinary on Saturday December 15, 2012 @10:05AM
(#4925396)
Color.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.