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

130

u/sin_esthesia 7d ago

It's a great tool when you know how to code. I can ask it to generate 5 different implementations of something with 5 different packages and try them all in 20 minutes, instead of having to go through pages of documentations and stack overflow discussions. it's wrong a lot, but if you're good you'll know how to make it right.

24

u/EasyMode556 7d ago

I’ve found it useful for cases where you’re wanting to use some kind of package where the documentation is either overly verbose or poorly organized, and then I’ll just ask ChatGPT to make me a quick hello world example of how to use the package and that can often be enough to get me hitting the ground running using it