From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 2/2] STYLE: suggest long names
Date: Sat, 13 Feb 2016 13:11:19 -0400 [thread overview]
Message-ID: <1455383479-9946-2-git-send-email-david@tethera.net> (raw)
In-Reply-To: <1455383479-9946-1-git-send-email-david@tethera.net>
Hopefully the exceptions are common sense.
---
devel/STYLE | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/STYLE b/devel/STYLE
index b22d8d3..da65312 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.
--
2.6.4
next prev parent reply other threads:[~2016-02-13 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-13 17:11 [PATCH 1/2] STYLE: document some rules about variable declarations David Bremner
2016-02-13 17:11 ` David Bremner [this message]
2016-03-05 0:49 ` David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1455383479-9946-2-git-send-email-david@tethera.net \
--to=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).