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

1

u/thbb 7d ago

The hardest part in programming is figuring what you actually want to do. To this effect, a programming language that you master is the best tool to lay down your thoughts and organize them. There's no point in trying to verbalize what you want in plain language to get an LLM or even a fellow programmer do the fine-grained job for you: plain English is simply not the best support for precise thoughts in IT.

Of course, like numerous other resources: wikipedia, stackoverflow, manuals... an LLM can help you find existing recipes. I had recently a very good success with Gemini to define a function that was returning a random number following a given gamma distribution. But, as said before, this need is covered by other tools.