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 0a33d91 commit 1a6f01c
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 1a6f01c

Please sign in to comment.