The best way to become familiar with the coding conventions of the code is to examine the code itself, which is fairly consistent throughout.
- Identifier names use STL-esque conventions: they are lower-case, using underscores to separate words.
- Accessors (for both getting and setting values) use the form
"T & get_X"
; use const
for read-only access. - Put the names of functions in a comment after their closing brace; this serves as visual punctuation.