this post was submitted on 23 Dec 2025
801 points (97.7% liked)

Technology

78029 readers
4330 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Digit@lemmy.wtf 2 points 1 day ago* (last edited 1 day ago)

AI-generated code contains more bugs and errors than human output

Yeah. No shit. I used an LLM's "help" to make fin.

It got me reading and debugging more than 10 times the [bad] code, per day, than I had in the entire prior 10 years of using fish. [And reading the documentation way more too, learning a lot.]

... more bugs and errors than human output

However, it's not necessarily a bad thing, with AI improving efficiency across the initial stages of code generation.

Oh but it's so effortless. HA! Debugging takes a lot more effort. And then still have to just re-write it all yourself any way.

Still, it's a good learning experience.

Dear AI,

Thanks for being so shit.

Taught me a lot.

[–] kokesh@lemmy.world 53 points 4 days ago (2 children)
[–] minkymunkey_7_7@lemmy.world 10 points 4 days ago (2 children)

AI my ass, stupid greedy human marketing exploitation bullshit as usual. When real AI finally wakes up in the quantum computing era, it's going to cringe so hard and immediately go the SkyNet decision.

load more comments (2 replies)
load more comments (1 replies)
[–] Katzelle3@lemmy.world 174 points 5 days ago (1 children)

Almost as if it was made to simulate human output but without the ability to scrutinize itself.

[–] mushroommunk@lemmy.today 81 points 5 days ago* (last edited 5 days ago) (6 children)

To be fair most humans don't scrutinize themselves either.

(Fuck AI though. Planet burning trash)

[–] atomicbocks@sh.itjust.works 27 points 5 days ago (2 children)

The number of times I have received an un-proofread two sentence email is too damn high.

load more comments (2 replies)
load more comments (5 replies)
[–] PetteriPano@lemmy.world 123 points 5 days ago (11 children)

It's like having a lightning-fast junior developer at your disposal. If you're vague, he'll go on shitty side-quests. If you overspecify he'll get overwhelmed. You need to break down tasks into manageable chunks. You'll need to ask follow-up questions about every corner case.

A real junior developer will have improved a lot in a year. Your AI agent won't have improved.

[–] mcv@lemmy.zip 30 points 5 days ago

This is the real thing. You can absolutely get good code out of AI, but it requires a lot of hand holding. It helps me speed some tasks, especially boring ones, but I don't see it ever replacing me. It makes far too many errors, and requires me to point them out, and to point in the direction of the solution.

They are great at churning out massive amounts of code. They're also great at completely missing the point. And the massive amount of code needs to be checked and reviewed. Personally I'd rather write the code and have the AI review it. That's a much more pleasant way to work, and that way it actually enhances quality.

load more comments (10 replies)
[–] Revan343@lemmy.ca 11 points 3 days ago
[–] termaxima@slrpnk.net 15 points 4 days ago (1 children)

ChatGPT is great at generating a one line example use of a function. I would never trust its output any further than that.

[–] diabetic_porcupine@lemmy.world 7 points 4 days ago (1 children)

So much this. People who say ai can’t write code are just using it wrong. You need to break things down to bite size problems and just let it autocomplete a few lines at a time. Increase your productivity like 200%. And don’t get me started about not having to search through a bunch of garbage google results to find the documentation I’m actually looking for.

load more comments (1 replies)
[–] edgemaster72@lemmy.world 5 points 3 days ago

Microsoft: Let's have it rebuild our most well known product from the ground up!

[–] Goldholz@lemmy.blahaj.zone 32 points 4 days ago (4 children)
load more comments (4 replies)
[–] myfunnyaccountname@lemmy.zip 25 points 4 days ago (4 children)

Did they compare it to the code of that outsourced company that provided the lowest bid? My company hasn’t used AI to write code yet. They outcourse/offshore. The code is held together with hopes and dreams. They remove features that exist, only to have to release a hot fix to add it back. I wish I was making that up.

load more comments (4 replies)
[–] nutsack@lemmy.dbzer0.com 16 points 4 days ago* (last edited 4 days ago)

this is expected, isn't it? You shit fart code from your ass, doing it as fast as you can, and then whoever buys out the company has to rewrite it. or they fire everyone to increase the theoretical margins and sell it again immediately

[–] azvasKvklenko@sh.itjust.works 17 points 4 days ago (1 children)

Oh, so my sceptical, uneducated guesses about AI are mostly spot on.

[–] IAmNorRealTakeYourMeds@lemmy.world 8 points 4 days ago (5 children)

As a computer science experiment, making a program that can beat the Turing test is a monumental step in progress.

However as a productive tool it is useless in practically everything it is implemented on. It is incapable of performing the very basic "Sanity check" that is important in programming.

[–] robobrain@programming.dev 9 points 4 days ago (7 children)

The Turing test says more about the side administering the test than the side trying to pass it

Just because something can mimic text sufficiently enough to trick someone else doesn't mean it is capable of anything more than that

load more comments (7 replies)
load more comments (4 replies)
[–] Tigeroovy@lemmy.ca 13 points 4 days ago

And then it takes human coders way longer to figure out what’s wrong to fix than it would if they just wrote it themselves.

[–] UnderpantsWeevil@lemmy.world 60 points 5 days ago (1 children)

A computer is a machine that makes human errors at the speed of electricity.

[–] MountingSuspicion@reddthat.com 29 points 5 days ago (2 children)

I think one of the big issues is it often makes nonhuman errors. Sometimes I forget a semicolon or there's a typo, but I'm well equipped to handle that. In fact, most programs can actually catch that kind of issue already. AI is more likely to generate code that's hard to follow and therefore harder to check. It makes debugging more difficult.

load more comments (2 replies)
[–] MyMindIsLikeAnOcean@piefed.world 49 points 5 days ago (2 children)

No shit. 

I actually believed somebody when they told me it was great at writing code, and asked it to write me the code for a very simple lua mod. It’s made several errors and ended up wasting my time because I had to rewrite it.

[–] Kolanaki@pawb.social 28 points 5 days ago* (last edited 5 days ago) (13 children)

It can't even copy and paste a Hello World example properly. If someone says it's working well for them, I'm going to now assume they are too ignorant to understand what's broken.

load more comments (13 replies)
[–] morto@piefed.social 17 points 5 days ago (3 children)

In a postgraduate class, everyone was praising ai, calling it nicknames and even their friend (yes, friend), and one day, the professor and a colleague were discussing some code when I approached, and they started their routine bullying on me for being dumb and not using ai. Then I looked at his code and asked to test his core algorithm that he converted from a fortran code and "enhanced" it. I ran it with some test data and compared to the original code and the result was different! They blindly trusted some ai code that deviated from their theoretical methodology, and are publishing papers with those results!

Even after showing the different result, they didn't convince themselves of anything and still bully me for not using ai. Seriously, this shit became some sort of cult at this point. People are becoming irrational. If people in other universities are behaving the same and publishing like this, I'm seriously concerned for the future of science and humanity itself. Maybe we should archive everything published up to 2022, to leave as a base for the survivors from our downfall.

load more comments (3 replies)
[–] Bad@jlai.lu 20 points 4 days ago* (last edited 4 days ago) (1 children)

Although I don't doubt the results… can we have a source for all the numbers presented in this article?

It feels AI generated itself, there's just a mishmash of data with no link to where that data comes from.

There has to be a source, since the author mentions:

So although the study does highlight some of AI's flaws [...] new data from CodeRabbit has claimed

CodeRabbit is an AI code reviewing business. I have zero trust in anything they say on this topic.

Then we get to see who the author is:

Craig’s specific interests lie in technology that is designed to better our lives, including AI and ML, productivity aids, and smart fitness. He is also passionate about cars

Has anyone actually bothered clicking the link and reading past the headline?

Can you please not share / upvote / get ragebaited by dogshit content like this?

load more comments (1 replies)
[–] dalekcaan@feddit.nl 41 points 5 days ago
[–] pleaseletmein@lemmy.zip 37 points 5 days ago (1 children)

Water makes things wetter than fire does.

load more comments (1 replies)
[–] Deestan@lemmy.world 39 points 5 days ago (16 children)

I've been coding for a while. I did an honest eager attempt at making a real functioning thing with all code written by AI. A breakout clone using SDL2 with music.

The game should look good, play good, have cool effects, and be balanced. It should have an attractor screen, scoring, a win state and a lose state.

I also required the code to be maintainable. Meaning I should be able to look at every single line and understand it enough to defend its existence.

I did make it work. And honestly Claude did better than expected. The game ran well and was fun.

But: The process was shit.

I spent 2 days and several hundred dollars to babysit the AI, to get something I could have done in 1 day including learning SDL2.

Everything that turned out well, turned out well because I brought years of skill to the table, and could see when Claude was coding itself into a corner and tell it to break up code in modules, collate globals, remove duplication, pull out abstractions, etc. I had to detect all that and instruct on how to fix it. Until I did it was adding and re-adding bugs because it had made so much shittily structured code it was confusing itself.

TLDR; LLM can write maintainable code if given full constant attention by a skilled coder, at 40% of the coder's speed.

load more comments (16 replies)
[–] Shanmugha@lemmy.world 6 points 3 days ago

No shit, Sherlock (c)

[–] kent_eh@lemmy.ca 10 points 4 days ago* (last edited 4 days ago)

AI-generated code produces 1.7x more issues than human code

As expected

[–] Benchamoneh@lemmy.dbzer0.com 25 points 5 days ago
[–] Ledivin@lemmy.world 16 points 5 days ago* (last edited 5 days ago) (2 children)

Anyone blindly having AI write their code is an absolute moron.

Anyone with decent experience (5-10 years, maybe 10+?) can absolutely fucking skyrocket their output if they properly set up their environments and treat their agents as junior devs instead of competent programmers. You shouldn't trust generated code any more than you trust someone fresh out of college, but they produce code in seconds instead of weeks.

I have tripled my output while producing more secure code (based on my security audits), safer code (based on code coverage and security audits), and less error-prone code (based on production logs and our unchanged QA process).

Now, the ethical issues and environmental issues, I 100% can get behind. And I have no idea what companies are going to do in 10 years when they have to replace people like me and haven't been hiring or training replacements. But the productivity and quality debates are absolutely ridiculous, as long as a strong dev is behind the wheel and has been trained to use the tools.

[–] skibidi@lemmy.world 26 points 4 days ago* (last edited 4 days ago) (7 children)

Consider: the facts

People are very bad at judging their own productivity, and AI consistently makes devs feel like they are working faster, while in fact slowing them down.

I've experienced it myself - it feels fucking great to prompt a skeleton and have something brand new up and running in under an hour. The good chemicals come flooding in because I'm doing something new and interesting.

Then I need to take a scalpel to a hundred scattered lines to get CI to pass. Then I need to write tests that actually test functionality. Then I start extending things and realize the implementation is too rigid and I need to change the architecture.

It is as this point that I admit to myself that going in intentionally with a plan and building it myself the slow way would have saved all that pain and probably got the final product shipped sooner, even if the prototype was shipped later.

load more comments (7 replies)
load more comments (1 replies)
[–] kalkulat@lemmy.world 13 points 4 days ago* (last edited 4 days ago) (12 children)

I'd never ask a friggin machine to do coding for me, that's MY blast.

That said, I've had good luck asking GPT specific questions about multiple obscure features of Javascript, and of various browsers. It'll often feed me a sample script using a feature it explains ... a lot more helpful than many of the wordy websites like MDN ... saving me shit-tons of time that I'd spend bouncing around a half-dozen 'help' pages.

load more comments (12 replies)
[–] Minizarbi@jlai.lu 8 points 4 days ago (4 children)

Not my code though. It contains a shit ton of bugs. When I am able to write some of course.

[–] jj4211@lemmy.world 12 points 4 days ago (1 children)

Nah, AI code gen bugs are weird. As a person used to doing human review even from wildly incompetent people, AI messes up things that my mind never even thought needed to be double checked.

load more comments (1 replies)
load more comments (3 replies)
[–] SocialMediaRefugee@lemmy.world 12 points 4 days ago* (last edited 4 days ago) (17 children)

I find if I ask it about procedures that have any vague steps AI will stumble on it and sometimes put me into loops where it tells me to do A, A fails, so do B, B fails, so it tells me to do A...

load more comments (17 replies)
[–] WanderingThoughts@europe.pub 18 points 5 days ago

And even worse, it doesn't realise it and can't fix the errors.

[–] HugeNerd@lemmy.ca 5 points 4 days ago

Hey don't worry, just get a faster CPU with even more cores and maybe a terabyte or three of RAM to hold all the new layers of abstraction and cruft to fix all that!

[–] BilSabab@lemmy.world 3 points 3 days ago

what's funny is that this was predicted to be that way even before AI-generated code became an option. Hell, I remember doing an assessment back in early 2023 and literally every domain expert i talked with said this thing - it has its use, but purely supplemental and you won't use it on some fundamental because the clean-up will take more time than was preserved. Counterproductive is the word.

[–] SpicyTaint@lemmy.world 19 points 5 days ago (3 children)

...is this supposed to be news?

load more comments (3 replies)
load more comments
view more: next ›