mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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.
This commit is contained in:
parent
5540acc1ba
commit
bb48785424
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue