News for hackers. Stuff that matters.
Re:AI;DR (AI; Didn't Read) by koyote on Monday August 17, 2026 @06:18PM (#49338429)
It's not just claude, all AI is unable to produce something concise. On the surface everything looks 'good' whether code or prose, but then if you dig a bit, try and understand the whole text you quickly realise that 80% of it is unecessary and the whole thing could have been re-worded/re-coded into something a fraction of its size and complexity.

I asked Sol to reduce the length of some documentation we had by making it more concise. It came back after 20 minutes of work, did a line count and was aghast that the line count had somehow increased...

Re:AI;DR (AI; Didn't Read) by preg_match on Monday August 17, 2026 @09:19PM (#49339942)
I have to ask Claude to compact the comments every time, and I give specific criteria for it. Never ever reiterate what’s in the code, never mention decisions not made, never mention the conversation, etc etc.

Even then it is conservative. For the love of God, compact the comments.

Comments become a huge maintenance burden, especially in the age of AI. They just grow and grow, and then mislead the AI later on.

Re:AI;DR (AI; Didn't Read) by Taek on Tuesday August 18, 2026 @02:27AM (#49342055)
I just wrote a utility to rip all comments out of the code. Now the code is fully uncommented and it has saved lots of input tokens and also lots of meandering because the model is no longer getting stuck on bad ideas it told itself about.
Re:AI;DR (AI; Didn't Read) by mrweasel on Tuesday August 18, 2026 @04:36AM (#49343007)
That's is something I did not consider, the model using the existing comments as input. Comments that it may itself have written.
Re:AI;DR (AI; Didn't Read) by gritzko on Tuesday August 18, 2026 @03:26AM (#49342512)
I set a line budget for comments (also wiki page parts, chat responses, etc). That only helps when I ask it to do a second pass to reword everything to the budget and add links. I think they tuned it this way to stash reasoning dumps in the code. Unlike human developers, it has no context in its head, other than general GitHub knowledge.

That is a dramatic shortcoming, but I fix it with permalinks to other files. https://replicated.live/blog/link

Re:AI;DR (AI; Didn't Read) by koe123 on Tuesday August 18, 2026 @02:28AM (#49342070)
I have a theory that AI code looks good because you never subsequently come up with your own alternative.
Re:AI;DR (AI; Didn't Read) by Perepiska on Tuesday August 18, 2026 @02:54AM (#49342266)
"AI code looks good for you because you are a bad developer"?
Re:AI;DR (AI; Didn't Read) by a96 on Tuesday August 18, 2026 @03:29AM (#49342542)
Or non-developer.
Re:AI;DR (AI; Didn't Read) by Perepiska on Tuesday August 18, 2026 @03:44AM (#49342666)
.. but pretend to be a developer?
Re:AI;DR (AI; Didn't Read) by dosisking on Tuesday August 18, 2026 @05:50AM (#49343442)
Or Rust programmer
Re:AI;DR (AI; Didn't Read) by queenkjuul on Tuesday August 18, 2026 @12:25PM (#49348108)
I had Claude knock out a feature but it was too big of a change set for a single PR so i set up a worktree and started extracting parts piecemeal. Along the way I would clean up and rewrite pieces. By the end of this process i had abandoned everything Claude wrote and looking back at the original branch I was like "oh my god, that's so bad in so many ways, i can't believe i was actually just gonna ship that"
Re:AI;DR (AI; Didn't Read) by andreyf on Tuesday August 18, 2026 @03:11AM (#49342382)
It's not that it fundamentally isn't able to produce something concise, it's that the business model of the companies developing these models rests on selling tokens...
Re:AI;DR (AI; Didn't Read) by LEDThereBeLight on Tuesday August 18, 2026 @08:50AM (#49344896)
It’s not some conspiracy. If they knew how to make the AI responses better and more concise, they would. They just don’t yet.
Re:AI;DR (AI; Didn't Read) by what on Tuesday August 18, 2026 @01:48PM (#49349566)
I don’t know. The old models were much more concise, answering your question in a couple of sentences. At some point they just started outputting walls of text for every prompt.
Re:AI;DR (AI; Didn't Read) by genxy on Tuesday August 18, 2026 @02:05PM (#49349875)
Bullshit. It would cost them more money to post process all the bullshit and then ship that, instead they just point the cannon at your face and pull the trigger.
Re:AI;DR (AI; Didn't Read) by andreyf on Wednesday August 19, 2026 @07:05PM (#49368311)
It's not a conspiracy to say it's unwise to expect a company to drive a research & product direction that will directly impact their reduce. Some might be smart enough to realize it's the right long game, but it takes leaders who understand and plan out second order consequences.
Re:AI;DR (AI; Didn't Read) by DuperPower on Tuesday August 18, 2026 @09:33AM (#49345408)
because human writing IS not just producing the Next token, sometimes you write shit and then go back and find ways to improve and try to play tricks inside the structures only you or your coauthors understand. AI doesnt do this
Re:AI;DR (AI; Didn't Read) by Exolon on Tuesday August 18, 2026 @02:02PM (#49349824)
Exactly! That's also why almost every slop commit I see has a linecount like +700 / -20, whereas human commits often end up net zero. I try to remove more lines than I add, if possible, but LLMs will just add more bloat, forever.
Re:AI;DR (AI; Didn't Read) by alxndr on Tuesday August 18, 2026 @02:52PM (#49350719)
Reminds me of “sorry this is so long, I didn’t have time to make it short” (variously attributed, but the original may be Blaise Pascal)
Re:AI;DR (AI; Didn't Read) by marktl on Tuesday August 18, 2026 @07:16PM (#49354223)
The trick is to give AI an exact max acceptable word count. "Comments may be no longer than 50 words"