4 ms·
"One vote per file: Some files use a mix of spaces or tabs. We’ll count on which side depending on which method they use more." This makes results completely u
by adontz 10y ago
"One vote per file: Some files use a mix of spaces or tabs. We’ll count on which side depending on which method they use more."
This makes results completely useless, as files of people who really do not care will count for one side or another randomly.
- samuellb 10y agoOr people who use a "mixed tabs and spaces" indentation, e.g. size 8 tabs with 4 characters wide indentation, and spaces for uneven indentations. (Which IMHO is broken because it leads to unreadable code when you don't have the same settings as the person who wrote the code). Also, I guess C-style block comments could cause an over-counting of spaces (but looking at the numbers, it seems that either the query takes this into account, or C code simply has a poor comment-to-code ratio)