[phobos] Proposal of StopWatch module

Jonathan M Davis jmdavisprog at gmail.com
Fri Aug 20 14:24:23 PDT 2010


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


More information about the phobos mailing list