Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
dested5647yThe idea is there is something constantly judging you, silently upset that you gave that variable a bad name, wrote the method sloppy, used JavaScript instead of typescript, stuff like that.
-
CWins48087yWhen dealing with problems, talking about it helps. That is common sense.
Some people noticed that it is not required that the other person is an active part of the conversation, and for some, talking to a mute and deaf asian janitor or their favorite teacup works just as good.
The duck is what some used and that spreaded and became rubberducking. Use whatever you like. -
boss10287yOnce I had a problem with a part of code and I couldn't point my finger at the problem. Some part of the logic was wrong. I could have solved the problem using a lot of print statements. But instead...
I turned to my friend and started explaining the logic. Now he wasn't interested in listening to my explanation, so he just nodded. Half way through my explanation, I realised what I did wrong.
Everything was ok but this entire scenario resulted in wasting my friends time and my struggle to ignore the look on his face which clearly said "Why the fuck are you wasting my time?" wasn't easy. Active participation of the partner wasn't needed here. So programmers generally use rubber ducks as their partners in debugging the code to avoid such scenarios.
And also they say that ducks are the best programmers. -
SHA-25614467yI either talk to myself (when alone), pick up my cat or explain it to my gf. Most of the time I realize why it isn't working. If nothing helps I start reading every line and write a comment describing what it does.
-
I usually find the right solutions while writing comprehensive stackoverflow questions.
-
nicholai8577y@dested fuck anyone judging me for not wanting to waste my time on useless extraneous code in TS
-
Mostly I use my duck for things like "WHY, MR. DUCK? WHY WON'T THIS WORK? WHY DO YOU SIT THERE SMILING AT ME LIKE YOU KNOW SOMETHING I DON'T? WHERE DID I GO WRONG?"
-
boom5217yI talk to myself. Not sure if it worst than talking to a duck but i got some strange looks 🤓
Related Rants
Am I the only one here who doesn't use rubber duck for debugging ? Does it really help ?
undefined
bug
debug
duck