Can anyone tell me the proper spacing rules.
In the assignment tutorial, I see:
System.out.println( "Spot is now home" );
}
***Notice the space after the println method parentheses and the
string In the style guide, I see:
System.out.println("Oatmeal is good and good for you");
***notice the no spacing between the parentheses and the string. Which is correct, or does it even matter?
This is my understanding of the spacing rule:
1 - all identifiers are surrounded with whitespace unless it reduced clarity
2 -note the exceptions in the style guide (methods, arrays, pre and post increment, and casting)