Development: Difference between revisions
→Code Style
Glowredman (talk | contribs) (→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
* Don't touch existing public variables' implementation, as this can break code using those variables.
* Use thread-safe collections
* '''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==
|