On Wed, Sep 11, 2013 at 12:13:07PM -0700, Walter Bright wrote: > On 9/11/2013 12:10 PM, Brian Schott wrote: > >The choice of ending token names with underscores was made according > >to the Phobos style guide. > > > >http://dlang.org/dstyle.html > > I didn't realize that was in the style guide. I guess I can't > complain about it, then :-)
I disagree. I think it's more readable to use a consistent prefix, like kw... or kw_... (e.g. kw_int, kw_return, etc.), so that it's clear you're referring to token types, not the actual keyword. T -- One Word to write them all, One Access to find them, One Excel to count them all, And thus to Windows bind them. -- Mike Champion
