Comment by sarchertech
21 days ago
No, companies don’t pay people to write 100k LOC. They pay people to write useful software.
We figured out that LOC was a useless productivity metric in the 80s.
21 days ago
No, companies don’t pay people to write 100k LOC. They pay people to write useful software.
We figured out that LOC was a useless productivity metric in the 80s.
[flagged]
I can't stress enough how much LOC is not a measure of anything.
Yep. I’ve seen people copy 100’s of lines instead of adding a if statement.
In fact it is. And can be useful. IF you have quality controls in place, so the code has a reasonable quality, the LOC will correlate with amount of functionality and/or complexity. Is a good metric? No. Can be used just like that to compare arbitrary code bases, absolutely no!
As a seasoned manager, I have an idea how long a feature should take, both in implementing effort and longness of code. I hace to know it, is my everyday work.
OK, well, the people in MY software industry use LOC as an informal measure of complexity.
LIKE THE WHOLE WORLD DOES.
But hey, maybe it's just the extremely high profile projects I've worked on.
2 replies →
Without questioning the LOC metric itself, I'll propose a different problem: LOC for human and AI projects are not necessarily comparable for judging their complexity.
For a human, writing 100k LOC to do something that might only really need 15k would be a bit surprising and unexpected - a human would probably reconsider what they were doing well before they typed 100k LOC. Where-as, an AI doesn't necessarily have that concern - it can just keep generating code and doesn't care how long it will take so it doesn't have the same practical pressure to produce concise code.
The result is that while for large enough human-written programs there's probably an average "density" they reach in relation of LOC vs. complexity of the original problem, AI-generated programs probably average out at an entirely different "density" number.
Your first post specifically stated:
"I'm curious - do you have ANY idea what it costs to have humans write 100,000 lines of code???"
which any reasonable reading would take to mean "paid-by-line", which we all know doesn't happen. Otherwise, I could type out 30,000 lines of gibberish and take my fat paycheck.
[flagged]