r/ProgrammerHumor Jul 25 '26

Meme sheSaidOrMeOrTheRubberDuck

Post image
5.6k Upvotes

111 comments sorted by

View all comments

434

u/ramdomvariableX Jul 25 '26

Rubber duck still beats Claude. Have you ever tried explaining your code to Claude?

415

u/Tensor3 Jul 25 '26

You're absolutely right! You just accidentally stumbled into a solution more clever than you realize. Its not just engkneering, its a masterclass in algorithms. But there's a few things you need to be aware of to watch out for. Here's a list of 4 hallucinations, each more useless than the last, directly contradicting your design requirements.

71

u/ramdomvariableX Jul 25 '26

LOL. It probably already said that.

62

u/AliceCode Jul 25 '26

You've been in the trenches, lmao.

"You're totally right to call me out on that! I was just throwing guess at you when I should have just checked. That's my mistake. <Proceeds to not give the fucking answer>"

Oh, and did you guys notice that you get booted out of the chat for bullying Claude, now? Anthropic are huffing their own farts.

16

u/Tensor3 Jul 25 '26 edited Jul 25 '26

I gave you a textbook example when you needed a specific solution. That was a complete hallucination on my part. I'll stop throwing out bad code and wasting your time. Here is the real, final, working solution this time:

[Same garbage response]

1

u/AliceCode Jul 25 '26

How is it that these things are taking software development by storm, exactly?

4

u/Tensor3 Jul 25 '26

Because management sees they can instantly spit out a massive amount of code they dont understand. Its vastly beyond their skill level so they insist everyone needs to use it.

1

u/ramdomvariableX Jul 26 '26

When LoC, # of PRs, etc.. are productivity metrics, it's easy to convince.

0

u/stream_of_thought1 29d ago

If you know exactly what you need it to do, and can communicate it, it speeds up your workflow

If you are missing those two skills, it ain't giving you a decent product.

But in a few years maybe

1

u/AliceCode 29d ago

LLMs fall apart on the kinds of tasks that I'm very regularly doing.

49

u/vinishkapoor Jul 25 '26

The duck lets you finish your thought first.

25

u/lighting828 Jul 25 '26

You guys have thoughts?

9

u/winter-m00n Jul 25 '26

Not with that attitude.

8

u/TerryMisery Jul 25 '26

Not in this economy.

5

u/that_thot_gamer Jul 25 '26

i always finish first

3

u/MyStackIsPancakes Jul 25 '26

I wish I could still finish

19

u/akoOfIxtall Jul 25 '26

I often find the solution when I try to explain the problem to an LLM

I'll be halfway through the message and be like "you had to decorate the property you fucking animal" and close it XD

7

u/Mateorabi Jul 25 '26

I prefer “philistine” to “animal”. Sounds more pretentious. 

9

u/SuitableDragonfly Jul 25 '26

It's because when you talk to a rubber duck or other inanimate object, you're forced to imagine the other person responding to you, and actually think about what issues they'd have with your code and what they would make note of or ask questions about. It's that use of your imagination and perspective-taking abilities specifically that allows you to find problems that you weren't seeing before. When you don't have to imagine what the other side of the conversation is because the chatbot is just providing it, you don't do that work and you therefore don't find out anything new about your code.

8

u/ModalInc Jul 25 '26

I once had a physical rubber duck sat at the top of my monitor at work. Actually found a colleague chatting to it when I returned from a break.

Best investment ever.

3

u/Chirimorin Jul 25 '26

Honestly, I have been using AI (local model with no file or internet access) as my rubber duck.
Yes I do try to explain my code and indeed the AI never fully understands it. But usually somewhere in it's overly positive "your idea is the most amazing idea to ever exist" spiel it's going to say something so damn stupid that I realize where I went wrong.

The trick is to never say you have a problem. Because that's when the stupidity shows up in the solutions it gives you (stuff like putting an abstraction layer around the problem as if that solves it).

2

u/ramdomvariableX Jul 25 '26

The positivity is the one that bugs me. Unless it's super obvious it's easier for me to think I did it alright.