java - Is it proper style to have blank lines tabbed properly? -


After

In Java, let me assume I have two method declarations in a class:

  Class MyClass {Public Zero MyMethod () {// Some Code} Public Zero myOtherMethod () {// Something else}}  

In between my methods, I can choose to Either there is a completely empty line or a space character with tabs to "OK" tab. I have noticed that my GIT diffs sometimes changes in other unchanged files that are purely white space (either adding or wiping the white space mentioned above). It was just thinking to me:

Is there any right direction that what is right?

Anyone here official style creates your free space The direction for

is being said ... I remove the unnecessary tab / spaces - that's just because my preference However, I will never tell anyone else to do this .. ( OK, OK - except this time )


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -