this post was submitted on 10 Aug 2023
186 points (98.4% liked)

Programmer Humor

32415 readers
938 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

A blue rubberduck with an Australian flag and the text Australia printed on it, positioned on a white cup

all 40 comments
sorted by: hot top controversial new old
[–] Xariphon@kbin.social 57 points 1 year ago (1 children)

My wife is the programmer.

Instead of a rubber duck, I gave her a plush frog for her desk.

To help her catch all the bugs.

[–] theFibonacciEffect@feddit.de 8 points 1 year ago

Oh that's cool

[–] prwnr@programming.dev 39 points 1 year ago (1 children)

I either solve the problem or get wrecked

[–] adolf_hitler@reddthat.com 5 points 1 year ago
[–] CloverSi@lemmy.comfysnug.space 33 points 1 year ago* (last edited 1 year ago) (1 children)

I was using a nice firefighter duck named Cleo, but he was underperforming so he had to be let go. Now I have Rufus:

I was afraid a mouse wouldn't be able to do a duck's job, but he threatened to sue so I had to give him a shot. Glad I did, he's proven as capable as any duck I've known.

[–] cypherix93@lemmy.world 4 points 1 year ago (1 children)

How many ducks have you known, personally?

[–] Poiar@sh.itjust.works 30 points 1 year ago (2 children)

Whoa! You've got the entire executive team.

[–] random72guy@lemmy.world 5 points 1 year ago

A cluster duck, if you will.

[–] erre@programming.dev 21 points 1 year ago (1 children)

rubber duck

This or anyone near me 😅

[–] Arigion@feddit.de 4 points 1 year ago

Ah finally another duck. I was thinking if I should also get a toy named cover, because whenever I hear duck my brain autocompletes: ...and cover. Because of this shit: https://youtu.be/zMnKNHNfznE :-)

[–] dream_weasel@sh.itjust.works 13 points 1 year ago* (last edited 1 year ago) (1 children)

Who needs a rubber duck? I have a programming wizard. https://imgur.com/a/zzAIek4

[–] Cethin@lemmy.zip 1 points 1 year ago (1 children)

I thought your wizard had a gun strapped to his belt for a second.

[–] dream_weasel@sh.itjust.works 2 points 1 year ago

I should add that feature...

[–] arvere@lemmy.ml 13 points 1 year ago
[–] zeropublix@lemmy.ml 11 points 1 year ago

I can’t post a picture of my wife, I wonder if she ever will understand it

[–] emptyother@programming.dev 11 points 1 year ago (2 children)

I should probably post a picture of myself. I don't have count on how many times people have asked me for help but figuring it out while explaining it to me. Or me to them probably just as often.

[–] snaptastic@beehaw.org 3 points 1 year ago (1 children)

What if (bear with me here), you tried explaining the problem to a rubber duck instead of colleagues?

[–] marco@beehaw.org 5 points 1 year ago (1 children)

I'm a dev manager of a remote team: I would encourage my team to talk to each other over their favorite rubber animal anytime, if the opportunity is given.

This facilitates both knowledge sharing and teamwork.

[–] snaptastic@beehaw.org 3 points 1 year ago

Yes and I agree, but the post was about rubber ducks, the whole point of which is not discussing with a person (at least not at first).

[–] cynar@lemmy.world 2 points 1 year ago

Tiny rubber ducks are actually dirt cheap from china. Keep a few in your pocket/desk, and hand them out when it happens.

[–] Pajama@lemmy.world 10 points 1 year ago* (last edited 1 year ago) (1 children)

My Kiryu duck.

Edit: no idea why my image is sideways

[–] sawdustprophet@midwest.social 1 points 1 year ago (1 children)

I need to know where one of these can be procured. For science.

[–] Pajama@lemmy.world 1 points 1 year ago

I think they're called Tubbz?

Sorry about the late reply. Sync finally decided I was worthy of notificarions.

[–] enshu@lemmy.world 10 points 1 year ago (1 children)
[–] Arigion@feddit.de 2 points 1 year ago

That reminds me of the german version of baby shark: https://youtu.be/olhczmTbB4I

[–] lambda@programming.dev 9 points 1 year ago* (last edited 1 year ago) (2 children)

Okay, this is the second thing I've seen about rubber duck debugging. What does this mean? Am I a bad developer?

Edit: LFTL

[–] cynar@lemmy.world 5 points 1 year ago

When working on complex tasks, it's easy to get sucked into it and not see the wood for the trees. One of the best solutions is to talk it through with someone. Often, as you are explaining it, you will realise that it's not doing what you just said, but something different. You also sometimes realise that your solid logic is far less logical than it seemed, inside your own head.

Critically, none of these actually require the knowledge or interaction of the person you are talking to. Rather than explaining it to a colleague, and wasting their time, some people use an inanimate object. A rubber duck has become a common method. It's small, easy to source, and can sit on top of a monitor etc, with a face to talk too. Other personified toys also work just as well, as do pets, babies, or life partners etc.

Basically, it's a method of breaking a bad cycle, by getting out of your own head, and so realise where you keep f*****g up.

[–] marco@beehaw.org 3 points 1 year ago

the fact is that most ducks prefer to take a mentoring role

🦆 🤣

[–] ted@sh.itjust.works 9 points 1 year ago

Two of my coworkers got carried away and kept bringing in more and more ducks, creating "The Great Rubber Duck War"

many many ducks on office desks

[–] perishthethought@lemm.ee 5 points 1 year ago

Does a home-made crocheted Corgi count?

[–] n3cr0@lemmy.world 4 points 1 year ago
[–] Bloodwoodsrisen@lemmy.tf 4 points 1 year ago

This is my dad's

[–] semi@lemmy.ml 4 points 1 year ago
[–] UnPassive@lemmy.world 2 points 1 year ago (1 children)
[–] talentedkiwi@sh.itjust.works 2 points 1 year ago (1 children)

I see you spared no expense.

[–] UnPassive@lemmy.world 2 points 1 year ago

Wouldn't want to give the lawyers anything to work with.

[–] betternotbigger@lemmy.world 1 points 1 year ago

Please tell me ya'll actually talk to your ducks? Just me? Alright...