std.d.lexer: pre-voting review / discussion

Jonathan M Davis jmdavisProg at gmx.com
Wed Sep 11 19:06:11 PDT 2013


On Thursday, September 12, 2013 03:37:06 deadalnix wrote:
> Int, Function, Scope, Import are all valid identifiers.

All of which violate Phobos' naming conventions for enum values (they must 
start with a lowercase letter), which is why we went with adding an _ on the 
end. And it's pretty much as close as you can get to the keyword without 
actually using the keyword, which is a plus IMHO (though from the sounds of 
it, H.S. Teoh would consider that a negative due to possible confusion with 
the keyword).

- Jonathan M Davis


More information about the Digitalmars-d mailing list