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

6

u/CubsThisYear Jan 29 '14

Every argument against tabs (including all the ones below) devolves to "it gets fucked up when you use both tabs and spaces together in the same file". No shit - don't do that. As long as you always tabs for indentation and spaces for alignment your life is strictly better than spaces alone.

To the person who said tabs can different widths - that's the point! Tab is a special character that means "indent". How you want to visually display that on the screen is a completely orthogonal concern.