diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2db179bfb..be9fce0d6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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. * **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 -* **type vs. var**: - Please use 'int x' instead of 'var x', etc. in all cases. Here is why: whenever * **private** 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.