STYLE: suggest long names

Hopefully the exceptions are common sense.
This commit is contained in:
David Bremner 2016-02-13 13:11:19 -04:00
parent 99a0a90f65
commit 9f8b2091c8

View file

@ -71,6 +71,10 @@ Naming
* Use lowercase_with_underscores for function, variable, and type * Use lowercase_with_underscores for function, variable, and type
names. names.
* Except for variables with extremely small scope, and perhaps loop
indices, when naming variables and functions, err on the side of
verbosity.
* All structs should be typedef'd to a name ending with _t. If the * All structs should be typedef'd to a name ending with _t. If the
struct has a tag, it should be the same as the typedef name, minus struct has a tag, it should be the same as the typedef name, minus
the trailing _t. the trailing _t.