Re:Python is becoming the world’s most popular programming l...
by collyw on Wednesday October 10, 2018 @04:43AM
(#18183094)
Is there a quick way to find out your LOC in a python project? Does it include whitespace and comments? What about HTML and JS code?
[ Parent
| on HN ]
Re:Python is becoming the world’s most popular programming l...
by rusk on Wednesday October 10, 2018 @04:48AM
(#18183116)
The typical measure is “Source Lines of Code” (SLOC), which would be calculated on a per-language basis and doesn’t include comments or blank lines. You’d sum these together for your codebase overall. Not sure how you’d do it for HTML or mixed code. Presumably the same since it’s such a rough measure that that level of accuracy really doesn’t matter.