Revision e3c52bf2
b/CODING_STYLE | ||
---|---|---|
44 | 44 |
3. Naming |
45 | 45 |
|
46 | 46 |
Variables are lower_case_with_underscores; easy to type and read. Structured |
47 |
type names are in CamelCase; harder to type but standing out. Scalar type |
|
47 |
type names are in CamelCase; harder to type but standing out. Enum type |
|
48 |
names and function type names should also be in CamelCase. Scalar type |
|
48 | 49 |
names are lower_case_with_underscores_ending_with_a_t, like the POSIX |
49 | 50 |
uint64_t and family. Note that this last convention contradicts POSIX |
50 | 51 |
and is therefore likely to be changed. |
Also available in: Unified diff