<a href="http://www.java-forums.org" target="_blank" rel="nofollow">Java Forums</a>
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
"I'm not back." - Bill Harding, Twister
I dislike having to put them in every time there's an if, else, for, while, etc.
It would be bad if they ignored all whitespace.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I do that too, but only if the controlling statement and the controlled statement are on the same line. Thus:But not:That's because I have been burned (not once but several times) when I change the latter code like this:Originally posted by Stan James:
I also break the rule "put brackets around single line blocks" after if, else, for.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |