Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 631 Bytes

CONTRIBUTING.md

File metadata and controls

13 lines (9 loc) · 631 Bytes

Contributing

Style Guides

For C++ code, try to follow the Google naming style guide where possible. This will allow for consistency across the code base.

These can be simplified to:

  • Class data members should be snake_case_ and end with a underscore (note: this doesn't apply to class members)
    • Using this convention prevents the need to use this-> when accessing class data members since it is obvious from the trailing underscore
  • Function names should be PascalCase
  • Variable names should be snake_case
  • Parameter name should be snake_case