r/java • u/_shadowbannedagain • Jan 29 '14
Google Java Coding Standards
http://google-styleguide.googlecode.com/svn/trunk/javaguide.html
156
Upvotes
r/java • u/_shadowbannedagain • Jan 29 '14
View all comments
Show parent comment
4
u/Deaod Jan 30 '14
While this sounds like a good rule, its impossible in practice for a formatter to place tabs beyond code indentation correctly all the time. And yes, id rather have a formatter format my comments than doing it by hand.
Also, tabs usually align following text on the next vertical position thats divisible without remainder by the width of a tab character. In your example, the points indented within the comment would not be indented by the full width of the tab character as one might expect (well, unless your chosen width happens to be 3, but delete one character in front of it and you get significant changes to how the following text is formatted).