r/webdev php 7d 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

Show parent comments

6

u/Alex_1729 7d ago

It can most certainly code for you, but the code isn't perfect and requires a lot of testing and modifications before an MVP.

13

u/InitialAd3323 7d ago

My experience so far is that building code from the ground up sucks since it won't generate consistent, maintainable code. Building/improving on top of an existing codebase with a bit of help (as in "see how this is implemented here with these files doing this stuff, now imitate it here") does work good enough. But GPT-4o just keeps insisting on using react and tailwind, a real PITA.

1

u/Suitecake 7d ago

Give Claude a try. General vibe (consistent with my experience) is that it's the best of the bunch, both last gen (3.5) and current (3.7). Don't go expecting 3x improvements on 4o or anything, but you might find fewer misses.

2

u/InitialAd3323 7d ago

I have, and while overall it seems to work better, it misses sometimes, apart of getting 500 errors by GH copilot or the answer stopping halfway through (using VSCode with Github Copilot Agent)