| ▲ | criley2 4 hours ago | |||||||||||||||||||||||||||||||
Honest question: Why does it matter? They got the product shipped and got millions of paying customers and totally revolutionized their business and our industry. Engineers using LOC as a measure of quality is the inverse of managers using LOC as a measure of productivity. | ||||||||||||||||||||||||||||||||
| ▲ | dandellion 3 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||
More code means more entropy, more room for bugs, harder to find issues, more time to fix, more attack surface, more memory used, more duplication, more inconsistencies... I bet you at some point we'll get someone reporting how AI performance deteriorates as the code base grows, and some blog post about how their team improved the success of their AI by trimming the code base down to less than 100k LOC or something like that. The principles of good software don't suddenly vanish just because now it's a machine writing the code instead of a human, they still have to deal with the issues humans have for more than half a century. The history of programming is new developers coming up with a new paradigm, then rediscovering all the issues that the previous generation had figured out before them. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | GuB-42 an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Among the hundreds of thousands of lines of code that Anthropic produced was one that leaked the source code. It is likely to be a config file, not part of the Claude Code software itself, but it still something to track. The more lines of code you have the more likely there is for one of them to be wrong and go unnoticed. It results in bugs, vulnerabilities,... and leaks. | ||||||||||||||||||||||||||||||||
| ▲ | raincole 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
It doesn't. LoC is only meaningful when you use it to belittle others' code. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ▲ | sarchertech 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
The reason it’s not useful as a measure of productivity is because it’s measure of complexity (not directly, but it’s correlated). But it tells you nothing about whether that complexity was necessary for the functionality it provides. But given that we know the functionality of Claude Code, we can guess how much complexity should be required. We could also be wrong. >Why does it matter? If there’s massively more code than there needs to be that does matter to the end user because it’s harder to maintain and has more surface area for bugs and security problems. Even with agents. | ||||||||||||||||||||||||||||||||
| ▲ | viktorcode 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
More bugs. More costly maintenance. | ||||||||||||||||||||||||||||||||
| ▲ | blantonl 3 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||
Exactly. Imagine if Claude Code was a PHP script. Some folks would lose their damn minds | ||||||||||||||||||||||||||||||||
| ▲ | troupo 3 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||
> Honest question: Why does it matter? Because it's unmaintainable slop that they themselves don't know how to fix when something happens? https://news.ycombinator.com/item?id=47598488 | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||