mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 10:54:52 +01:00
STYLE: suggest long names
Hopefully the exceptions are common sense.
This commit is contained in:
parent
99a0a90f65
commit
9f8b2091c8
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ Naming
|
|||
* Use lowercase_with_underscores for function, variable, and type
|
||||
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
|
||||
struct has a tag, it should be the same as the typedef name, minus
|
||||
the trailing _t.
|
||||
|
|
Loading…
Reference in a new issue