-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONTRIBUTING
17 lines (13 loc) · 1 KB
/
CONTRIBUTING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Contributions in the form of optimization, new features, bugfixes, new populators and anything else you could come up with are dearly welcomed.
The code style for the project is as follows (* = to be fixed in existing code):
- Curly brackets always go on their own line, except after the "do" keyword
- Indent with tab
- No tab on empty lines (just regex-replace \n\s+\n with \n\n in all files before submitting)
- Pointer asterisks always go with identifiers but in function return types, where they stand alone
- Leave whitespace around all operators but ++ and --
- Always put parenthesis around code blocks even if made up of a single statement
- Maximum line width is still to be decided, try to keep it reasonable for now*
- Typedefs are CamelCase, functions are lowercase_with_underscores, variables are lowercase
If something is not specified in this file and you're not sure what to do, please open an Issue on GitHub.
You can submit your contributions either via email or with a pull request on GitHub.
Thank you!