Get the latest tech news

Counting Lines of Code


Was asked recently about how many lines of python code was in my most recent project. A simple command line check, cd into your project directory and run: find -type f -name “*.py” | xa…

For my first production project at (then) HMS, the total lines of python code are 20k, and I developed the bulk of that in around 7 months of work. In the grand scheme of things, this is like 2 functions or unit tests per work day (when considering white space and docstrings). So my recent python migration I don’t think has eclipsed my cumulative SPSS work going back over a decade (but maybe in two more years will).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Code

Code

Photo of Counting Lines

Counting Lines

Related news:

News photo

Up to 90% of my code is now generated by AI

News photo

Show HN: Haystack – an IDE for exploring and editing code on an infinite canvas

News photo

Kaspersky says Uncle Sam snubbed proposal to open up its code for third-party review