diff options
author | cperciva <cperciva@FreeBSD.org> | 2010-06-27 02:30:19 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2010-06-27 02:30:19 +0000 |
commit | b2f994642263d80682e8858a37d4002964ddcbac (patch) | |
tree | 1bf6147337e454c6dc42d150430730be918b5880 /share | |
parent | 44c5071b3b9fe8cfed2d7aa71c3a81bd106b2399 (diff) | |
download | FreeBSD-src-b2f994642263d80682e8858a37d4002964ddcbac.zip FreeBSD-src-b2f994642263d80682e8858a37d4002964ddcbac.tar.gz |
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.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/style.9 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index d70868f..c3382d7 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. |