added rule to the style guide section for where to declare variables

This commit is contained in:
Kevin Barabash
2014-09-25 14:32:37 -06:00
parent 0236cdc619
commit 0189b96b92

View File

@@ -100,6 +100,7 @@ Code
- 4 spaces for indentation - 4 spaces for indentation
- 80 character line length - 80 character line length
- commas last - commas last
- declare variables in the outermost scope that they are used
In general, try to make your code blend in with the surrounding code. In general, try to make your code blend in with the surrounding code.