4 ms·
What is the methodology for the 'Line length is over 80 characters' ? A lot of lines of code have less than 80 characters, no matter what the conventions are.
by vmarsy 13y ago
What is the methodology for the 'Line length is over 80 characters' ?
A lot of lines of code have less than 80 characters, no matter what the conventions are.
What would be interesting is the percentage of files that have not a single line with more than 80 characters and the other files.
It would be more obvious to see who doesn't care about 80 characters.
- CatMtKing 13y agoFor python, it seems to consider tabs as 4 spaces and take the character count of the line. https://github.com/outsideris/popularconvention/blob/master/src/parser/python-parser.coffee https://github.com/outsideris/popularconvention/blob/master/... It seems to only look at commits, (so it doesn't consider the entire file, though it's certainly possible to do)