Code style guidelines
- Use unix line endings. If you are on windows, use a text editor writes/reads unix line endings
- Use 4 spaces for indentation. Don't use tabs, and especially not a mix of tabs and spaces. Configure your editor to handle this
- Avoid leaving commented out code in the codebase.
- Use consistent comma style. Prefer not using comma-first style
- Use consistent spacing surrounding if statements (e.g. choose if( condition ) or if (condition))
- Use curly brackets on all blocks, don't rely on the fact that you can avoid it in the single line case
Git guidelines
- Review your commits before pushing to server with git log -p.