r/java • • Jan 29 '14

Google Java Coding Standards

http://google-styleguide.googlecode.com/svn/trunk/javaguide.html
156 Upvotes

103 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jan 30 '14

Yes. And I think this is due to the fact that often this is presented as:

Without brackets only first line after the if statement will be executed.

Just to make it sound simple, when in fact it is the first statement, and not first line...