X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=devel%2FSTYLE;h=da6531248feb7e827c6f5066faaf1049a61a2652;hb=5a69aa14748162429c43ad5ff3d8b35779fff0d4;hp=b22d8d353e15c11c0827bf7adf38e8eefe8843ba;hpb=99a0a90f65f5a98d2562e36b48b3e423233c2eb4;p=notmuch diff --git a/devel/STYLE b/devel/STYLE index b22d8d35..da653124 100644 --- a/devel/STYLE +++ b/devel/STYLE @@ -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.