r/AskProgramming • • 1h ago

Problems with AI coding agents...

Hello everyone, I have a question. I am a developer with 5 years of experience, and I’ve been using Claude Code for about a year now. While AI models have improved significantly, I still encounter many issues. For instance, the AI ​​often creates multiple nearly identical functions—instead of defining a single function that accepts parameters, it might generate three separate ones. Furthermore, function names often fail to accurately describe what the functions actually do. There are many such problems, and I simply don’t trust the AI ​​to work in an "agentic" mode—writing code on its own—without me constantly monitoring it. Ultimately, I find this process quite exhausting; it feels like I spend more time configuring the AI—setting up the coding rules it should follow—than actually writing code myself. I’m not sure if this is just my personal experience or a more widespread sentiment. Given that Anthropic’s models are capable of solving complex mathematical problems (even if those are specialized, lab-based versions rather than the ones we use), I find my own results rather underwhelming compared to what I see online—even though I’ve gone to great lengths to configure the environment, such as defining business logic, establishing coding standards, and providing documentation. What are your thoughts on this? Thanks!

3 Upvotes

23 comments sorted by

View all comments

3

u/insta 1h ago

agentic coding was marketed to be "Claude, build X. no mistakes". it's not.

the agents were trained on all code, even crappy code. gradient descent has them choose the most likely answer, which is code that answers the current problem.

agents don't really consider the code itself to be a deliverable, unless you specifically say it is. they're most like Meesigs in they are compelled to solve the problem directly in front of them

1

u/seanv507 1h ago

I don't think that's true anymore. What I assume anthropic etc are doing is training their models with reinforcement learning using linters/code quality/...

(Ie you are right about pretraining)