debug a reserved keyword (even for enums?)

Nick Treleaven nick at geany.org
Sat Apr 11 09:55:49 UTC 2026


On Saturday, 11 April 2026 at 09:40:32 UTC, Kagamin wrote:
> Use pascal case.

The (optional) D style guide doesn't clearly forbid that, but I'm 
pretty sure it's against the spirit of it. Capitalized names are 
for types (or a symbol which could be a type). Enum members are 
values.

https://dlang.org/dstyle.html#naming_conventions

Also this interpretation is consistent with the *Eponymous 
Templates* part:

> types should be PascalCased and values should be camelCased


More information about the Digitalmars-d mailing list