r/AskProgramming • • 31m 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!

2 Upvotes

18 comments sorted by

View all comments

2

u/PianoConcertoNo2 27m ago edited 16m ago

Are you saying you prefer a single function that performs differently based on a param., and Claude is preferring them to be distinct functions?

That sounds more like just a preference issue rather than a "issue" with Claude itself.

Also OP - that's a code smell. Are you sure Claude isn't right to push back in this case...?

2

u/mxldevs 21m ago

Less duplicate code is my preference, for sure.