From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 75BB26DE1903 for ; Sat, 13 Feb 2016 09:11:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.308 X-Spam-Level: X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=0.243, RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xsXwsdlnDvT0 for ; Sat, 13 Feb 2016 09:11:28 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id C516F6DE0A9A for ; Sat, 13 Feb 2016 09:11:27 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1aUdiX-0004KE-KD; Sat, 13 Feb 2016 12:10:45 -0500 Received: (nullmailer pid 9997 invoked by uid 1000); Sat, 13 Feb 2016 17:11:26 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 2/2] STYLE: suggest long names Date: Sat, 13 Feb 2016 13:11:19 -0400 Message-Id: <1455383479-9946-2-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.6.4 In-Reply-To: <1455383479-9946-1-git-send-email-david@tethera.net> References: <1455383479-9946-1-git-send-email-david@tethera.net> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 17:11:29 -0000 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