So I was once told that there is something that is religious for coders. Something that some do one way and others another. Something that for some can not be changed.
What is it?
The curly brace/bracket.
public void method(args....){ //<----- on the same line as the method
}
for(int j = 0; j <= i; j++){ //<------- same line as the loop
}
//The other way
public void method(args....)
{ //<------ After the method
}
for(int j = 0; j <= i; j++)
{ //<------- after the loop
}
Which religion are you? Before? or after?
I like after…more white space means easier for me to read.