What's /prog/'s preferred naming convention for C-like languages? Personally I find CamelCase easier to type, but under_score easier to read.
Name:
Anonymous2007-05-20 0:08 ID:3D28or/p
Basically CamelCase, with a few extra rules:
1. First letter is only capitalized on classes.
2. Acronyms are fully capitalized if the first letter normally would be; thus HTMLParser rather than HtmlParser for a class, and htmlToXHTML rather than HTMLToXHTML for a function.
3. Constants (or variables which are used as such in languages without support for constants) are all uppercase with underscores separating words, and usually have a prefix for ones which are used for the same things; for example, COLOR_GREEN and COLOR_RED
4. ???
5. PROFIT!