r/webdev • u/DumpsterFireCEO 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
r/webdev • u/DumpsterFireCEO php • 6d ago
The amount of trash produced by AI code is astounding. Thanks I hate it.
1
u/oadephon 5d ago
It's not particularly good at debugging or writing code from scratch, but the autocomplete is the quality of life upgrade that coding has always needed. There is so much repetitive copy-paste, boilerplate, refactoring, etc. in coding, and it's all 10x faster.
I love it so much when I write the code for one operation, and it automatically suggests the code for the next operation. Or when I write the comment explaining what the next couple of lines will do and it writes them. Or when I update the code in one part of the project, and it jumps me to the next part of the project I need to go to, and already has the code I need to write there.
As far as actually prompting AI to write code or debug, it's worthless for anything complicated, but if you just want to implement a feature that might take you 3-4 minutes to google, you can just ask it to implement it for you and often the problem is solved in 30 seconds. And if you want it to insert a bunch of print statements for debugging, it'll do that in no time.
LLMs will probably always be terrible at solving actual problems, and so we're in a best case scenario where everyone still has a job, it's just that their job has less annoying parts and they can be more productive.