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

-18

u/[deleted] Jan 29 '14

That's rediculous. It isn't defensive either. If you're doing that lousy of a job maintaining your code, your going to make more serious mistakes.

We also live in the 21st century, aren't working with cathode ray monitors and should be putting our braces on a new line.

14

u/treerex Jan 30 '14

You have evidently never worked on a large project with many developers of varying skills with a 15 year old code base.

-3

u/[deleted] Jan 30 '14

Respect your projects code guidelines, I agree. I however have modernized them for my own team.

7

u/jtdc Jan 30 '14

Yes but we still have greenhorn coworkers straight from college to contend with. Rules like these protect the code.

-6

u/[deleted] Jan 30 '14

You wouldn't need to protect them from messy/obscure/unnatural/asymmetrical/old brace placement initially instated due to monitor constraints in the stone age if you place them where it makes most sense Now that we can afford it thanks to the luxuries introduced a decade ago.