r/ProgrammerHumor • • Aug 03 '26 • Popcorn 1 Bravo 1

Meme claudeWatchingMeCodeByHand

Post image
16k Upvotes

232 comments sorted by

View all comments

Show parent comment

300

u/Kevdog824_ Aug 03 '26 edited Aug 03 '26

Honestly, for me at work Claude does a fantastic job. However, when it messes up it messes up in a way that would be hard to catch if you didn’t have expertise (e.g. domain specific misunderstanding, obscure software bugs, etc.). That’s really my concern for junior devs. They would easily overlook these issues and learn to trust it completely because the code it produces looks more or less correct pretty much every time.

At least if it wrote bad code it would be more obvious to other devs. The problem I find is that it writes pretty good, functional code… that just isn’t quite right.

49

u/pr0crast1nater Aug 03 '26

That's the big issue for me. It is making junior devs far too reliant on it, that they naturally won't know if it fucked up on a domain specific problem. And the amount of code output is much higher now and more verbose, so it's difficult to catch it in reviews as well.

I guess at least I get less pings from juniors when they get stuck on something now lol.

37

u/sisisisi1997 Aug 03 '26

I find Claude to be particularly useful at explaining how a system functions and what functions are served by what parts of the codebase.

What used to be hours of "What the fuck does this do? Why is this here? How does this not crash?" on a previously unknown codebase is now a few minutes conversing with Claude.

I imagine this is really helpful for junior developers if they are actually interested in knowledge, not just quick fixes.

10

u/pr0crast1nater Aug 03 '26 edited Aug 03 '26

Oh yeah. It is really good at that. But it's easy for a junior dev to instead just paste the bug details and ask it to fix it, sometimes even without going in plan mode first.

11

u/isjustsergio Aug 03 '26

Solved by ownership. Being responsible for the code you write (Claude assisted or not) will be the difference between a dev you can trust and a dev you can't. Don't push code you won't be able to defend.

8

u/FlakyTest8191 Aug 03 '26

That would be ideal, but often enough management values faster features they can sell over quality, and you can't really blame them when they're incentivized by short term profit. When you reward slop, you get slop.

6

u/isjustsergio Aug 03 '26

It's the engineering team's responsibility to push back and hold the line when managers want to cut corners. That was the case before AI as well. These teams are doomed to fail within a year.

4

u/pr0crast1nater Aug 03 '26

I think with AI, the expectation now in general is way faster velocity. And if it's coming from the C level, then not much can be done.

→ More replies (5)

1

u/Street-Catch Aug 03 '26

I find the majority of issues I end up fixing are less about figuring out what a piece of code does than figuring out how it's possible for odd inputs to arise.

Like it's trivial enough to know seg fault is caused by some code trying to index out of bounds but understanding why an out of bounds case even exists (instead of slapping on some if else and forgetting about it) is the hard part.

It might be an industry specific problem though

2

u/Ben_0 Aug 03 '26

This is why I don't trust LLMs for anything that can segfault (like C/C++ or anything involving pointer manipulation)

2

u/sisisisi1997 Aug 03 '26

I usually use this kind of analysis to understand how pieces interact with each other, which helps me build a mental model of how data travels and how it is transformed - this last part is usally what helps catches bugs.

2

u/drunkdoor Aug 03 '26

We just need to set the minimum age limit on AI to 25 and we'll be fine.

54

u/Pluckerpluck Aug 03 '26

This is my take as well. The top models can do really good jobs in most, but not all, situations. Where I find they struggle is when it comes to fundamental architecture of projects outside of relatively simple web services. Ask it to refactor a project where the structure fundamentally changes though and it's going to make bad choices and lock itself into those even as you ask it to change etc.

Costs a lot though. I burn tokens each week. Using it with API costing really shows how much it costs to get good outputs right now. And while I believe eventually we'll get models that can do 90% of our tasks running on local GPUs (i.e. a one off purchase and works offline), we're not there yet.

13

u/pessimistic_platypus Aug 03 '26

Maybe we'll get models that good... but who's going to sell them? Even if the models can run locally, they'll be subscription-only.

14

u/InviolableAnimal Aug 03 '26

Open weights models are persistently 3-6 months behind the best closed models in capabilities (driven in part by distillation i.e. just mining tons of queries from the frontier models and training on those). The real barrier is still compute though, these near frontier open source models are definitely not running on a single GPU

3

u/cryptOwOcurrency Aug 03 '26

New and better open (free) models are coming out all the time, and even occasionally giving the proprietary (paid) ones a run for their money. Kimi K3 is particularly impressive, I’ve heard.

I don’t see any reason why this pattern should change any time soon.

And remember, today’s open-weight cloud model is tomorrow’s local model.

2

u/greentintedlenses Aug 03 '26

No one. That's the best part, they'll be open source.

4

u/DontAskAboutMyButt Aug 03 '26

Someone once said LLMs are so smart and proficient at everything, with the exception of the specific area where you’re an expert 😂

12

u/GrandmaPoses Aug 03 '26

Exactly - Claude isn't bad at writing code, any engineer who says it writes junk either hasn't used it or is too worried about losing their own job. HOWEVER, you absolutely need an experienced engineer to do the work with Claude because when there's an error, the only way to fix it yourself or explain the issue back to Claude is if you know the environment.

15

u/unfortunatebag Aug 03 '26

The problem I find is that it writes pretty good, functional code… that just isn’t quite right.

So, just like a person then.

17

u/dbagames Aug 03 '26

A particularly delusional person yeah.

3

u/sturdy-guacamole Aug 03 '26

Claude does some fucking funny shit with synchronization. even with max effort enterprise plan and models

it's ok if you either: correct it manually, or use a 2nd adversarial agent and burn (more) tokens.

2

u/thecrius Aug 04 '26

Facts.

Whoever just says "agents do a bad job" they just haven't really learned how to use them and it's bad, because at this point it means that you either don't work or have a job that doesn't give a shit about your role really.

The real scary thing is for juniors that are not learning shit, unless a company has a specific programme to help grow expertise.

2

u/FierceDeity_ Aug 03 '26

What if you thinking it does a fantastic job is actually the dunning kruger talking out of you?

I think few people know at this point what fantastic code is (I don't even)

→ More replies (1)

1

u/hannyayoukai Aug 03 '26

I find that's how Claude is with most things. You have to be knowledgeable enough to correct it when it makes mistakes.

→ More replies (2)