3 ms·
At 11:28 he says, "at last count, there was over a million lines of python running this thing" Having never worked with code-bases larger than ~50kloc, I have
by apu 15y ago
At 11:28 he says, "at last count, there was over a million lines of python running this thing"
Having never worked with code-bases larger than ~50kloc, I have a lot of trouble understanding what 1 million lines of code is needed for, especially considering that python is such a high-level language.
Does anyone have any idea why there would be this much code?
- quink 15y ago> Does anyone have any idea why there would be this much code? It's the world's 3rd biggest website with hundreds of billions of views and dozens of millions of users, so maybe that's why. I think it's a credit to Python that a website that does that and has grown in a fairly haphazard fashion only has about 1000k SLOCs.
- apu 15y agoOh, it wasn't meant to be snarky or a slam -- I'm honestly just curious what kinds of things require so much code? E.g., is it one or two things that dominate usually in codebases this size, or is it just a LOT of components, each of which is tens of thousands of lines long? Do these kind of counts usually include auto-generated code?
- nikcub 15y agothat would be 1M LOC split across all the projects, libraries and modules.