Hacker News new | ask | show | jobs
by oddlama 1907 days ago
You might enjoy having a look at https://github.com/AlDanial/cloc

It can distinguish between actual lines of code, comments and empty lines for a lot of different languages.

1 comments

You might want to look at https://github.com/boyter/scc

It's the same as cloc, but ludicrously fast.

Thanks for sharing - I've been using cloc whenever needed but scc looks like a really sweet alternative/improvement!