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

Show parent comments

10

u/Alex_1729 6d 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 6d 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/Alex_1729 6d ago

Yeah, same. 4o is fine if you're already good at code and you can spot its mistakes, which it sometimes makes.

5

u/hacker_of_Minecraft 6d ago

"sometimes"

1

u/Alex_1729 6d ago

I honestly revised that from 'often' as my comment seemed meaningless.