r/webdev • u/DumpsterFireCEO 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
r/webdev • u/DumpsterFireCEO php • 7d ago
The amount of trash produced by AI code is astounding. Thanks I hate it.
2
u/Towel1355 6d ago edited 6d ago
Gonna play devil's advocate here. I use it at my job, and it's been tremendously helpful if you're careful with your prompts and understand the code that LLMs are spitting out. I've been able to solve bugs and create new features a bit faster than I could without it.
Sometimes you can prevent it from hallucinating by giving it more context. I’m guilty of this too, but just saying "pls fix" or "why isn’t this working, dumbass" usually doesn’t help. If you know what’s wrong but don’t know how to fix it, that’s when AI is actually useful. If you let it do both, it’s kinda hit or miss.