On Friday, August 20, 2010 14:05:23 Andrei Alexandrescu wrote: > That's fine because UpperCamel is a user-defined type, even if it's just > an enum. > > If you grep std/ for "enum", you'll see that the vast majority of enums > have type LikeThis and value likeThis. > > As use of constants is very widespread in D compared to other languages > (due to extensive static processing), having all caps names all over the > place could become annoying.
That makes sense, I suppose. I don't entirely like the idea, but having constants in caps all over the place could certainly get annoying. Still, there's only so much that you can do with capitalization to indicate something about a symbol. - Jonathan M Davis _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
