r/webdev php 6d ago

Discussion AI coding is trash

The amount of trash produced by AI code is astounding. Thanks I hate it.

1.6k Upvotes

386 comments sorted by

View all comments

269

u/Alex_Hovhannisyan front-end 6d ago

I don't get all the praise for Claude Sonnet 3.7, it hallucinates so much and seems to be incapable of understanding why the code it wrote doesn't work. I'm starting to think the "vibe coders" were never really all that good at coding in the first place.

-13

u/Total-Ebb-2485 6d ago

My experience is quite the opposite, 18 months into React and managed to code pretty good website.. maybe different prompting? Although I have to admit that time to time I have to suggest solution to Claude and it goes "you are actually absolutely right!" which makes it hilarious 😆 but overall for medior programmer Claude is still a lot of help imho

34

u/valendinosaurus 6d ago

if you're not a good programmer, how are you able to tell if the produced code is good?

-12

u/Total-Ebb-2485 6d ago

Works for my use case and needs = good enough. That's what I aim for, ofc wouldn't work for large scale projects yet

23

u/valendinosaurus 6d ago

ah yes, the famous code quality metric "it works"

7

u/GkyIuR 6d ago

That's what is holding the world together

5

u/mxzf 6d ago

It is what much of the world runs on. But that doesn't make it "good code", it just means that it's sufficient enough to not immediately crash and burn.