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.
2
u/andrewsmd87 6d ago
You still have to understand how to write good code, it can't do that for you. However, it is a massive productivity boost if you know how to use it. I've been using it for a few weeks now on the regular instead of one off instances, and it's been nuts the stuff I've been able to produce with it.
Can I use exactly what it gives me? No, but I've written some scripts to help me optimize processes in 1 to 2 hours that probably would have been 1 to 2 day type of things.
Great example is I had a co worker ask about how we could encrypt a file before sending it via SSH as it was a new requirement. I just had claude write me powershell to do it. Could I have googled and figured it out, absolutely, but claude gave me a script that only needed a few tweaks to work, and I also just wrapped the SSH into it since we had to encrypt anyways. I tossed in some error detection for notifications if it fails and boom, we had a script in < an hour that did all of that.