AI Coding

94 readers
7 users here now

A community to discuss agentic and AI assisted coding.

All users are expected to follow the code of conduct, particularly in regards to voting:

1.3. Vote for quality: When downvoting content in communities the downvotes should reflect the quality of the content rather than whether you personally agree with it.

founded 5 months ago
MODERATORS
151
152
153
154
155
156
157
158
159
160
161
162
 
 

TL;DR

So, what's the verdict? Can AI replace an experienced developer for debugging?

No, of course not. AI is very good at pattern recognition, and it can be very, very useful. It will do exceptionally well on standard stuff: schema validation mishaps, forgotten null checks, common runtime errors, you've seen it for yourself already. Personally, my debugging almost always starts with the LLM these days. With literally the prompts above: "here's what's happening, this is the log, fix it". Half the time, it manages to do that.

But even if the fix works, I always retrace it step by step and make sure it's the actual root cause. If the fix doesn't work, however, I almost never iterate with the LLM, other than asking it to find me something in the repo. As you've seen, half of its responses in this case will be very confident hallucinations.

163
164
165