svn commit: r209546 - head/share/man/man9

Colin Percival cperciva at FreeBSD.org
Sun Jun 27 02:30:19 UTC 2010


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.


More information about the svn-src-head mailing list