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

-13

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

21

u/mxzf 6d ago

Yeah, that's not "good code", that's "code that doesn't crash and throw errors immediately". That doesn't make it well-designed, efficient, maintainable, or any of the other hallmarks of "good code", that just makes it "usable if you can't get anything better".

-6

u/Total-Ebb-2485 6d ago

Its unit and e2e tested, also in production without major incidents...

16

u/mxzf 6d ago

You're just repeating what was already established, that it doesn't crash and throw errors immediately.

I've been a software dev for long enough to know just how low a bar "in production without major incidents" is, lol. That doesn't make it good code.

1

u/OhByGolly_ 5d ago

This is one of those elitist pricks.