Skip to content

Commit

Permalink
Merge pull request diffblue#2568 from tautschnig/vs-parameter-names
Browse files Browse the repository at this point in the history
Document proposed best practice for unused parameters
  • Loading branch information
tautschnig authored Jul 10, 2018
2 parents ef3eb4f + 440ceb6 commit 7c4b5aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CODING_STANDARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ Formatting is enforced using clang-format. For more information about this, see
# Naming
- Identifiers may use the characters `[a-z0-9_]` and should start with a
lower-case letter (parameters in constructors may start with `_`).
- Omit names of parameters or exception objects when they are not used. If
parameter names help documenting an interface, keep the name and use
`(void)parameter_name;` in the body of the method.
- Use American spelling for identifiers.
- Separate basic words by `_`
- Avoid abbreviations (e.g. prefer `symbol_table` to `st`).
Expand Down

0 comments on commit 7c4b5aa

Please sign in to comment.