Deleted redundant broken line.

This is covered below One Python Way anyways.
This commit is contained in:
rodolphito 2019-02-05 15:12:20 -08:00 committed by Paul Pacheco
parent 1fa099f402
commit 0e781424d5

View File

@ -115,8 +115,6 @@ Start reading our code and you'll get the hang of it. We optimize for readabilit
Always use braces even for one line if's. Unity did this everywhere, and there is value in not accidentally missing a line in an if statement because there were no braces. Always use braces even for one line if's. Unity did this everywhere, and there is value in not accidentally missing a line in an if statement because there were no braces.
* **Variable naming** * **Variable naming**
\`NetworkIdentity identity\`, not \`NetworkIdentity uv\` or similar. If the variable needs a comment the name needs to be changed. For example, `msg = ... // the message` use `message = ...` without a comment instead \`NetworkIdentity identity\`, not \`NetworkIdentity uv\` or similar. If the variable needs a comment the name needs to be changed. For example, `msg = ... // the message` use `message = ...` without a comment instead
* **type vs. var**:
Please use 'int x' instead of 'var x', etc. in all cases. Here is why: whenever
* **private** * **private**
Fields and methods in a class are private by default, no need to use the private keyword there. Fields and methods in a class are private by default, no need to use the private keyword there.
Note fields and methods are public by default in structs so it might be necessary there. Note fields and methods are public by default in structs so it might be necessary there.