Format Source Code
Here are the style guides we use as a baseline for various languages:
And here are a couple house rules (these apply to all languages):
- 4-space indents
- 100-character lines
- trim trailing space
When in doubt:
- Make it look like existing code.
- Ask on GitHub.
- Assume we'll flag issues in code review or reformat after the fact.