Development: Difference between revisions

(→‎Wikis: Added https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/)
Line 76:
== Code Style ==
 
* Keep your added variables either private or constant unless absolutlyabsolutely neccessarynecessary
* Don't touch existing public variables' implementation, as this can break code using those variables.
* Use thread-safe collections exclusivlywhere you can, to make future multithreading possible
* Comment your code
* '''Comment your code''', especially Javadoc-ing your methods and classes, if able
* Try not to make one method do too much. Add helper methods if you need
* Use the @Override annotation when overriding methods.
 
==Wikis==
18

edits