From bb48785424a5ff75febb4096a241cbd425f03363 Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Sun, 27 Jun 2010 02:30:19 +0000 Subject: [PATCH] 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. --- share/man/man9/style.9 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index d70868f9679..c3382d780ee 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -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.