Sitemap | Search || Zen Spider Website
/ The Language Freak
/ C++
/ Style Guide
Style Guide
I use a very simple style for C++, that is basically the style
outlined in Taligents Guide to Designing Programs.
In short:
- Classes: TypeOfResponsibilityOrAction. Eg: MethodParser.
- Instances and Arguments: responsibilityGiven. Eg: methodParser.
- Methods: actionTaken. Eg: parse().
- I use the trailing brace method:
void method() {
//body
}
See the book for a much more comprehensive description.
Sitemap | Search || Zen Spider Website
/ The Language Freak
/ C++
/ Style Guide