News for hackers. Stuff that matters.
Re:An Overwhelmingly Negative and Demoralizing Force by philistine on Tuesday April 08, 2025 @10:22AM (#43622135)
> AI will never produce a deletion.

That, right here, is a world-shaking statement. Bravo.

Re:An Overwhelmingly Negative and Demoralizing Force by Eliezer on Tuesday April 08, 2025 @10:58AM (#43622541)
And if it isn't already false it will be false in 6 months, or 1.5 years on the outside. AI is a moving target, and the oldest people among you might remember a time in the 1750s when it didn't talk to you about code at all.
Re:An Overwhelmingly Negative and Demoralizing Force by Taterr on Tuesday April 08, 2025 @11:49AM (#43623163)
It can absolutely be used to refactor and reduce code, simply asking "Can this be simplified" in reference to a file or system often results in a nice refactor.

However I wouldn't say refactoring is as hands free as letting AI produce the code in the first place, you need to cherry pick its best ideas and guide it a little bit more.

Re:An Overwhelmingly Negative and Demoralizing Force by QuadrupleA on Tuesday April 08, 2025 @10:32AM (#43622254)
Not quite true though - I've occasionally passed a codebase to DeepSeek to have it simplify, and it does a decent job. Can even "code golf" if you ask it.

But the sentiment is true, by default current LLMs produce verbose, overcomplicated code

Re:An Overwhelmingly Negative and Demoralizing Force by esafak on Tuesday April 08, 2025 @10:36AM (#43622306)
Today's assistants can refactor, which includes deletions.
Re:An Overwhelmingly Negative and Demoralizing Force by furyofantares on Tuesday April 08, 2025 @06:14PM (#43627001)
They can do something that looks a lot like refactoring but they suck extremely hard at it, if it's of any considerable size at all.
Re:An Overwhelmingly Negative and Demoralizing Force by CamperBob2 on Tuesday April 08, 2025 @08:18PM (#43627749)
Which is just moving the goalposts, considering that we started at "AI will never..."

You can't win an argument with people who don't care if they're wrong, and someone who begins a sentence that way falls into that category.

Re:An Overwhelmingly Negative and Demoralizing Force by furyofantares on Wednesday April 09, 2025 @05:14PM (#43638074)
The guy who said "AI will never" is obviously wrong. So is the guy who replied that they already can. I'm not moving the goalposts to point out that this is also wrong.
Re:An Overwhelmingly Negative and Demoralizing Force by stevenhuang on Tuesday April 08, 2025 @11:24PM (#43628616)
It really isn't, and if you think it is, you're holding it wrong.