home > resources > c++ coding standard > online version

Method Argument Names

  • The first character should be lower case.
  • All word beginnings after the first letter should be upper case as with class names.


  • You can always tell which variables are passed in variables.
  • You can use names similar to class names without conflicting with class names.

Example 2-5. Method Argument Names Example

class NameOneTwo
    int startYourEngines(Engine& rSomeEngine, bool autoRestart);