990 B
990 B
Contributing to Olive
Thank you for your interest in contributing to Olive! In order to keep the code as readable and maintainable as possible, code submitted should abide by the following standards:
Standards
When contributing to Olive, it's recommended to use the following rules:
- The code style generally follows the Google C++ Style Guide including, but not limited to:
- Indentation is 2 spaces wide, spaces only (no tabs)
lowercase_underscored_variable_nameslowercase_underscored_functions()orSentenceCaseFunctions()class SentenceCaseClassesAndStructs {}kSentenceCaseConstantsprepended with a lowercasekUPPERCASE_UNDERSCORED_MACROSfor variables or same style as functions for macro functionsclass_member_variables_end with a_
- 100 column limit (where it doesn't impair readability)
- Unix line endings (only LF no CRLF)
- Javadoc documentation where appropriate