| 31 | |
| 32 | = Line wrapping = |
| 33 | The maximum line length is 80 characters. When lines exceed this length, wrap them using a double indent (ie 8 spaces) on the new line. For example: |
| 34 | For example: |
| 35 | {{{#!c |
| 36 | void my_function(void) |
| 37 | { |
| 38 | if (variable_with_artificially_long_name_1 != 0 && |
| 39 | variable_with_artificially_long_name_2 != 0) |
| 40 | { |
| 41 | return variable_with_artificially_long_name_1 + |
| 42 | variable_with_artificially_long_name_2 + |
| 43 | variable_with_artificially_long_name_3; |
| 44 | } |
| 45 | }}} |
| 46 | |
| 47 | If you find yourself continuously exceeding the line limit, you might want to consider breaking up your function into smaller functions to reduce nesting. |