Where is naming convention?
Jonathan M Davis
jmdavisProg at gmx.com
Fri Jun 1 22:53:49 PDT 2012
On Saturday, June 02, 2012 09:39:06 Denis Shelomovskij wrote:
> 30.05.2012 22:53, Alex Rønne Petersen написал:
> > We're moving towards using ASCII rather than Ascii as the naming style
> > for abbreviations.
> >
> > (The style rule about joining words only concerns itself with whole
> > words, not abbreviations.)
>
> Does it mean that we loose our first latter rule (capitalized for types,
> lowercased for non-types)?
>
> fp16c -> FP16C (property)
> amdMmx -> AMDMMX (property)
> UtfException -> UTFException (class)
> utfExceptionHandler -> UTFExceptionHandler (function)
No. It simply means that all of the letters of an acronym are always the same
case. So, you'd have
class ASCIIException {}
void funcASCII() {}
int asciiVar;
enum UTFEnum { asciiEnum, utfEnum }
- Jonathan M Davis
More information about the Digitalmars-d
mailing list