Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 02:30:19 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209546 - head/share/man/man9
Message-ID:  <201006270230.o5R2UJBX051882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cperciva
Date: Sun Jun 27 02:30:19 2010
New Revision: 209546
URL: http://svn.freebsd.org/changeset/base/209546

Log:
  Note that internal_underscores should be used in identifier names rather
  than camelCase or TitleCase.
  
  According to grep and my checked-out source tree, we're currently at
  3733379 internal_underscores, 93024 camelCases, and 80831 TitleCases;
  so this commit is merely documenting existing practice.

Modified:
  head/share/man/man9/style.9

Modified: head/share/man/man9/style.9
==============================================================================
--- head/share/man/man9/style.9	Sat Jun 26 22:26:53 2010	(r209545)
+++ head/share/man/man9/style.9	Sun Jun 27 02:30:19 2010	(r209546)
@@ -293,6 +293,9 @@ Enumeration values are all uppercase.
 enum enumtype { ONE, TWO } et;
 .Ed
 .Pp
+The use of internal_underscores in identifiers is preferred over
+camelCase or TitleCase.
+.Pp
 In declarations, do not put any whitespace between asterisks and
 adjacent tokens, except for tokens that are identifiers related to
 types.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006270230.o5R2UJBX051882>