logoalt Hacker News

Aperockytoday at 12:39 AM4 repliesview on HN

> ended up being a million lines of code

This almost reeks of "I've never cleaned up our code base because there is too much code, and didn't even bother having agents/LLM cleaning them up".

You almost never need a million lines of code - this includes your software, infra, testing and operational tools. You didn't ship the linux kernel in 3 weeks and you know it. The code is already speghetti and it achieve the basic functions OK but it will harder and harder to simplify and untangle and maintain.


Replies

bombcartoday at 1:16 AM

Even the linux kernel doesn't need millions of lines of code; most of the actual LOC is device drivers, and you don't need all of them, you just need the ones for the devices you have.

show 1 reply
zahlmantoday at 5:03 AM

As a point of reference, 1MLOC is about the size of the entire Python standard library including tests, as well as stuff like IDLE. (Well, the Python part of the code. There's about half that much again of C in Modules/ .)

girvotoday at 12:42 AM

Yeah I cannot see how "we shipped 1 million lines of code in three weeks" is... something to be proud of haha

faustintoday at 2:28 AM

They directly address routine code cleanup and regularly paying down technical debt near the end of the article.

show 1 reply