Skip to content

Commit

Permalink
Merge pull request #9848 from JuliaLang/jakebolewski-patch-1-1
Browse files Browse the repository at this point in the history
Update CONTRIBUTING.md to add line length limit
  • Loading branch information
jiahao committed Jan 22, 2015
2 parents 7221a83 + 2c2aff2 commit cd0ff78
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,17 @@ Build as usual, and do `make clean testall` to test your contribution. If your c

##### General Formatting Guidelines For Julia code contributions

- 4 space indent
- 4 spaces per indentation level, no tabs
- use whitespace to make the code more readable
- no whitespace at the end of a line
- no whitespace at the end of a line (trailing whitespace)
- comments are good, especially when they explain the algorithm
- try to adhere to a 92 character line length limit
- use upper camel case convention for modules, type names
- use lower case with underscores for method names

##### General Formatting Guidelines For C code contributions

- 4 space indent
- 4 spaces per indentation level, no tabs
- space between if and ( (if (x) ...)
- newline before opening { in function definitions
- f(void) for 0-argument function declarations
Expand Down

0 comments on commit cd0ff78

Please sign in to comment.