General guidelines
Last updated
Last updated
Use [TAB] for create indents.
Use the "" for braces. You can skip braces for one-line returns (unless the condition requires a second line).
Use multiple early return
statements when possible to prevent functions from becoming over-indented.
Specify each variable's type. Don't use the var
keyword.
Use a single empty line to separate parts of code.