this post was submitted on 27 Mar 2026
566 points (99.1% liked)

Today I Learned

29300 readers
596 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 2 years ago
MODERATORS
 

Programmers often discover solutions while explaining a problem to someone else, even to people with no programming knowledge. Describing the code, and comparing to what it actually does, exposes inconsistencies. Explaining a subject also forces the programmer to look at it from new perspectives and can provide a deeper understanding.

top 50 comments
sorted by: hot top controversial new old
[–] becausechemistry@piefed.social 181 points 2 weeks ago (13 children)

Now, hear me out: what if the rubber duck burned tons of energy, poisoned the water and air, caused a global shortage of computer parts, was built with material without the permission of creators, made it easy to make nonconsensual sexual images of people, and lied to you?

[–] oce@jlai.lu 54 points 2 weeks ago (1 children)

You forgot:

[–] halcyoncmdr@piefed.social 10 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

exploit and traumatize developing country workers to filter nsfw/nsfl

I've always felt like there's a place in there for the early internet users through millenials (and maybe some early Gen Z) who spent a lot of time getting tricked by places like 4chan to see nsfl stuff and developed a tolerance to that sort of crap.

I'm sure there are a lot of people that already gave up on humanity years ago and have the psychological damage/callouses to deal with that more than a random selection of a population that hasn't been affected yet. Let the already damaged use that ability, like a super power, to save those who haven't experienced enough to the point where they've given up yet.

[–] oce@jlai.lu 6 points 2 weeks ago

I don't think they care as much for minimizing trauma as they care for cheap labor from a developing country. I doubt there are a lot of 4chan users there.

[–] shrugs@lemmy.world 13 points 2 weeks ago

Yeah, but it always tells me my ideas are good and he is wrong. So there is that

[–] 4am@lemmy.zip 10 points 2 weeks ago (1 children)

It’s a moron detector.

Most of us would avoid it like the plague, but morons will let it write their code in the first place.

load more comments (1 replies)
[–] AA5B@lemmy.world 4 points 2 weeks ago

Obviously then you’d trust everything it says and fire half your staff to replace them with a row of ducks

[–] Cellari@lemmy.world 2 points 2 weeks ago

You can fix the world by putting an AI into the rubber duck without electricity and expensive parts and it still works!

AI enhanced by that smile and those eyes and quiet posture helps solve problems :)

load more comments (8 replies)
[–] kurikai@lemmy.world 37 points 2 weeks ago (3 children)

works even for non programming stuff. its letting our brain process the information in order ans organising it

[–] WHARRGARBL@lemmy.world 11 points 2 weeks ago

I used to tutor college chemistry and calculus. I secretly sucked at both, but I knew what questions to ask students to start them thinking. They got excited to discover the answers while explaining it to me.

[–] cageythree@lemmy.ml 2 points 2 weeks ago* (last edited 2 weeks ago)

Yeah. I'm no programmer but I've had it often that I couldn't find a solution for a problem myself, said 'fuck it, I'll have to ask the internet', and by writing out what my problem was I figured out the solution so I never even posted the half-written posts lol

load more comments (1 replies)

Not a programmer but at my last job I couldnt count how many times I would walk into our engineers office and start explaining a problem only to stop mid sentence and say "wait, I'm an idiot" then walk back out. Sometimes talking about it is all you need to make the pieces fit.

[–] Semi_Hemi_Demigod@lemmy.world 31 points 2 weeks ago

This happens so often with my wife that she’s started saying “quack” when I figure it out

[–] nutsack@lemmy.dbzer0.com 16 points 2 weeks ago (1 children)

this is one reason I type questions out before asking them

[–] kSPvhmTOlwvMd7Y7E@lemmy.world 4 points 2 weeks ago (1 children)

the number of times I found the error, while describing the error on stackoverflow ...

load more comments (1 replies)
[–] voodooattack@lemmy.world 16 points 2 weeks ago

It’s all fun and games until the duck talks back.

[–] resipsaloquitur@lemmy.world 14 points 2 weeks ago
[–] Bazell@lemmy.zip 13 points 2 weeks ago (2 children)

Real thing by the way. Works not only with programming.

[–] HubertManne@piefed.social 3 points 2 weeks ago

came to say this and in addition its more effective with an actual person even if they don't say anything. Even a small amount of feedback helps that much more although ironically though it kinda palteus if it stops you from jumping on your new ideas and getting them down.

load more comments (1 replies)
[–] HugeNerd@lemmy.ca 12 points 2 weeks ago

True for everything I think.

[–] otacon239@lemmy.world 10 points 2 weeks ago

I keep one on my desk just for this reference :)

[–] MoonRaven@feddit.nl 9 points 2 weeks ago (1 children)

This is why I put rubber ducks at all desks of my it colleagues. It helps.

[–] MoonRaven@feddit.nl 16 points 2 weeks ago (1 children)

It might have escalated a bit after that though. There are hundreds of rubber duckies all around the office now...

Oh I know a place that is/was like this but with tiny (or not so tiny) T-Rex figures due to naming things.

[–] 4am@lemmy.zip 8 points 2 weeks ago

Every single popcorn flick from the 80s and 90s has a main character make a big plot-resolving realization while doing early act 3 exposition

If this is such a universal human experience that we wrote it into movies made for general audiences, I think that programmers are not the only ones debugging to their ducks

[–] PennyRoyal@sh.itjust.works 7 points 2 weeks ago (1 children)
load more comments (1 replies)
[–] hperrin@lemmy.ca 6 points 2 weeks ago

My wife is my rubber duck. She doesn’t mind when I explain the most jargon-heavy stuff to her.

[–] saltesc@lemmy.world 6 points 2 weeks ago* (last edited 2 weeks ago)

I do this to my main analyst as a last resort; have since day 1.

"Sorry, I gotta rant this one out." Knowing full-well they have nfi what I'm going on about.

Then eventually, that feeling of a clarity bomb going off followed by a period of dopamine fallout.

[–] olafurp@lemmy.world 6 points 2 weeks ago

I call one of my coworkers once a week with "Can I rubber duck you?" which means I'm just going to talk about my problem and explain my thought process in hopes she spots an obvious solution.

We do it to each other and 30% of the time the other dev says "why not just X" and we agree that it's pretty obvious.

[–] doesit@sh.itjust.works 5 points 2 weeks ago

I used to teach design. Before a presentation, I always asked my student to explain their project to someone with no knowledge on the subject, like their grandmother or so. Mainly to discover the logic flaws in their presentation.

[–] fibojoly@sh.itjust.works 5 points 2 weeks ago (2 children)

A corollary to this is that it's often very difficult to explain what's wrong because if you could explain it clearly, you would probably be fixing it already.

load more comments (2 replies)
[–] MurrayL@lemmy.world 5 points 2 weeks ago

Not quite the same, but sometimes when I’m doing a task I like to talk through what I’m doing out loud as if I was showing someone else how to do it.

[–] curbstickle@anarchist.nexus 5 points 2 weeks ago (2 children)

I have a few Lego kits my kids have gotten me, and a small toy penguin, which I talk through things with.

Thankfully it looks like I'm just on camera. Though I work from home so it doesnt really matter.

I also treat several coworkers like my rubber ducky. I warn them first though, so I feel like its not as bad.

[–] myster0n@feddit.nl 5 points 2 weeks ago (1 children)

Do you squeeze them until they squeak?

[–] curbstickle@anarchist.nexus 5 points 2 weeks ago

... Actually one of my coworkers did squeak like one. She figured out why I called about 5 seconds in and just went "squeak", which made me burst out laughing, and honestly it just got my brain where it needed to be even quicker

load more comments (1 replies)
[–] feinstruktur@lemmy.ml 5 points 2 weeks ago (2 children)

But isn't that well known, even from school days? If you've ever explained something to someone you've recognized that by doing that you're forced into overthinking the context, diving deeper into the subject.

load more comments (2 replies)
[–] null@lemmy.org 5 points 2 weeks ago (1 children)

I do this, but with my half-naked anime figures.

load more comments (1 replies)
[–] Angrydeuce@lemmy.world 4 points 2 weeks ago

Hell, even just having a completely different conversation can sometimes lead to huge breakthroughs! I've seen it happen!

[–] dan1101@lemmy.world 4 points 2 weeks ago (1 children)

Also going for a walk, driving, or the other morning I woke up spontaneously about 2 hours early and come up with a solution.

load more comments (1 replies)
[–] cows_are_underrated@feddit.org 4 points 2 weeks ago

While I havent explained my code to a rubber duck I did find The solution to my Problem just because I started to write it down in order to get help in a forum.

[–] Kolanaki@pawb.social 3 points 2 weeks ago (1 children)

If rubber ducks are a sign of bugs, then I do not want a Jeep.

load more comments (1 replies)
[–] LillyPip@lemmy.ca 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

This has a name? I thought this was just how it works. It’s why we think out loud.

eta: thinking + speaking + hearing engages more of your brain. That’s obvious, right? More engagement == more connections?

load more comments (1 replies)
[–] GreenKnight23@lemmy.world 3 points 2 weeks ago (2 children)

fun fact, I used to do this and had a small mental breakdown because my piece of shit boss refused to listen to my solutions, ultimately causing me more work and stress because the solutions he forced me to implement failed even more spectacularly.

I burned the duck as an effigy of my boss when he was finally fired.

I will never have another duck.

load more comments (2 replies)
load more comments
view more: next ›