X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=devel%2FSTYLE;h=da6531248feb7e827c6f5066faaf1049a61a2652;hp=b22d8d353e15c11c0827bf7adf38e8eefe8843ba;hb=2e86a4da55c29e0751d950839cdcbe40234ca8ba;hpb=99a0a90f65f5a98d2562e36b48b3e423233c2eb4 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.