Is there a coding convention for a "line rule" for Java -
I want to organize my Java files a little bit and would like to know if there is a standard way of doing this, for example :
Example of public class {Private integer example; Private string instance string; / * ------------------------------------------------ ------------ * / / * INNERCLASSES * / / * ----------------------------- ------------------------------- * * Private / InnerClass {someInnerClass () {}} / * ----- - ------------------------------------------------- - ---- * / / ** * This method gives examples to int * / public int getExampleInt () {return exampleInt; }}
I do not have to call the part where I have a comment break / ---------------- ------------------------------------------------- < / Em> / Are there any conference for any kind of conference like this? Or is it something I should not do now because most IDEs will display you well in some kind of outline view?
Refactoring and Source Cleanup Your source files may be reorganized with comments.
I suggest that you will not do this because the comment can end completely unrelated.
One more thing you want to try is to use your IDE to reformat your source. Every time you save the file, eclipse allows it to be all your code To read easily.
Comments
Post a Comment