r/programming • • Jan 30 '14

Google Java Coding Standards

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

19 comments sorted by

View all comments

7

u/josefx Jan 30 '14

With the insanity that is Googles c++ coding style I am really surprised. Only a single, reasonable warning against broken functionality provided by the standard library. A good IDE should be able to automate almost all of it.

1

u/themadweaz Jan 31 '14

I am on a mobile device and can't find you the link, but I remember finding XML for eclipse and a few other ide's formatters from Google.

I won't say that I agree with every guideline, but it is close to how I format my own code. One major exception: 80-100 character lines. Fuck that shit. This isn't 1992.

2

u/HerroRygar Jan 31 '14

I frequently use multiple vertically-split Vim windows for coding, so I must admit that I've come to appreciate the strict line limit.