From 0e781424d5d181cf0a10075efefdcb567a90207d Mon Sep 17 00:00:00 2001 From: rodolphito Date: Tue, 5 Feb 2019 15:12:20 -0800 Subject: [PATCH] Deleted redundant broken line. This is covered below One Python Way anyways. --- CONTRIBUTING.md | 2 -- 1 file changed, 2 deletions(-) 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.