www.digitalmars.com         C & C++   DMDScript  

D - standard identifier capitalization

reply "Sean L. Palmer" <seanpalmer earthlink.net> writes:
Is there a standard capitalization for D identifiers, one used by core
identifiers and keywords and such as well as by Phobos?

I ask because every other identifier in D starts with lowercase, but linkage
identifiers do not:

dxerr8.d(20): valid linkage identifiers are D, C, C++, Pascal, Windows

Should these even be case sensitive?

Sean
Jun 08 2002
parent "Walter" <walter digitalmars.com> writes:
"Sean L. Palmer" <seanpalmer earthlink.net> wrote in message
news:adu256$1gbt$1 digitaldaemon.com...
 Is there a standard capitalization for D identifiers, one used by core
 identifiers and keywords and such as well as by Phobos?
Keywords are all lower case. Identifier case is in the D style guide, which is just some recommendations.
 I ask because every other identifier in D starts with lowercase, but
linkage
 identifiers do not:

 dxerr8.d(20): valid linkage identifiers are D, C, C++, Pascal, Windows

 Should these even be case sensitive?
They're case sensitive for consistency with the rest of D.
Jun 08 2002