Skip to content

Commit

Permalink
Replace non-breaking spaces with regular ones
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Aug 30, 2023
1 parent fa3c7bd commit c98b7c2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions _development/coding_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ Or the purpose of that line that starts and finishes beyond the screen?

Here are the classic metrics for modularity:

* No lines longer than 80 columns.
  * Split or rearrange longer strings
  * Split longer statements
* If you have more than 3 levels of indentation, split your block
* If your function goes beyond the screen, split it
  * And don't try to reduce the font. ;)
* If you have more than 7 local variables, split your function.
  * Sometimes it's OK to have 10, but if you have 15 your code is a problem.
* No lines longer than 80 columns.
* Split or rearrange longer strings
* Split longer statements
* If you have more than 3 levels of indentation, split your block
* If your function goes beyond the screen, split it
* And don't try to reduce the font. ;)
* If you have more than 7 local variables, split your function.
* Sometimes it's OK to have 10, but if you have 15 your code is a problem.

### Don't use magic numbers

Expand Down

0 comments on commit c98b7c2

Please sign in to comment.