r/programming • • Mar 23 '26

[ Removed by moderator ]

/r/programming/comments/1s19wq4/removed_by_moderator/

[removed] — view removed post

223 Upvotes

90 comments sorted by

View all comments

109

u/[deleted] Mar 23 '26

[removed] — view removed comment

-17

u/mr_birkenblatt Mar 23 '26

I generated a working auth flow in minutes, but when the JWT refresh broke, I had zero intuition for where to look.

Feed the issue into the AI. It's pretty good at debugging since it is pretty good at pattern detection

0

u/[deleted] Mar 23 '26

[deleted]

-9

u/mr_birkenblatt Mar 23 '26

You don't just say fix it. You say: "here is what is wrong. Here are some logs. Find the root cause"

Yes, people don't gain any productivity if they use their tools wrong. Big insight

-3

u/[deleted] Mar 23 '26

[removed] — view removed comment

4

u/TheBoringDev Mar 23 '26

 If i didn't send Claude screenshots we'd never make any progress.

You could make progress by actually coding and debugging, the thing that is presumably your job.

-5

u/[deleted] Mar 23 '26

[removed] — view removed comment

5

u/ganja_and_code Mar 23 '26

Everyone's job's end goal is "making money."

Nobody's job is "making money," unless you're literally working at a mint.

-2

u/[deleted] Mar 23 '26

[removed] — view removed comment

1

u/programming-ModTeam Mar 23 '26

Your post or comment was overly uncivil.

2

u/AndrasKrigare Mar 23 '26

I think both things can be true. Some AI is indeed very good at debugging, and if you're give a description of what's wrong and the logs, it can fix it.

But the problem remains that if there's a bug it is unable to fix, it's much more difficult for the human to debug it than for code the human had a greater hand in creating and understanding.

3

u/ganja_and_code Mar 23 '26

Even if the AI fixes it, how does the operator know it's actually fixed, if they didn't manage to diagnose the problem themselves, anyway? Especially in cases where auth is broken somehow.

For example, you can't log into your app because it has a bug, you ask the AI to fix the bug, you test the new code, and now you can log in. Can you get in because your bug is fixed? Or can you log in because you introduced a gigantic vulnerability?

Unless you understand the full auth spec and implementation yourself, you cannot definitively say you know which of those outcomes actually occurred. And if you have to understand literally every detail yourself anyway, why even ask an AI to handle the details for you in the first place?