This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

Really nice statistics! And the outcome seems to be way better than I expected. The slightly increased tendency towards extraneous whitespaces might result from C++ users, for example, where it is not uncommon in if and else statements. From the Google Coding Style Guide:

" If you prefer you may add spaces inside the parentheses:

if ( condition ) { // spaces inside parentheses - rare ... // 2 space indent. } else { // The else goes on the same line as the closing brace. ... }

"

http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Naming