3 ms·
> AI will never produce a deletion. That, right here, is a world-shaking statement. Bravo.
by philistine 2y ago
> AI will never produce a deletion.
That, right here, is a world-shaking statement. Bravo.
- QuadrupleA 2y agoNot 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
- esafak 2y agoToday's assistants can refactor, which includes deletions.
- furyofantares 2y agoThey 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.
- CamperBob2 2y agoWhich 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.
- furyofantares 2y agoThe 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.
- Eliezer 2y agoAnd 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.
- Taterr 2y agoIt 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.
- stevenhuang 2y agoIt really isn't, and if you think it is, you're holding it wrong.