"So, here we create a new timer. No it does not explode. Next we have to calculate the interval.. No, I already said it does not explode. Hey, where are you going, you gotta stay here and listen! Come back!"
It's a debugging technique that consist of explaining your code to a rubber duck, so by explaining it line by line you may understand what isn't working in it.
150
u/helvolus Nov 25 '19
You see I love the idea but I can never use it. The last time I used the debugging duck it ended up being thrown against a wall
73
u/[deleted] Nov 25 '19
"So, here we create a new timer. No it does not explode. Next we have to calculate the interval.. No, I already said it does not explode. Hey, where are you going, you gotta stay here and listen! Come back!"
62
u/Rafael20002000 Nov 25 '19
Do you really want your code to explode?
14
u/Vlad_kashirin Nov 25 '19
Be careful or you, Megumin or your code will explo... explosion
35
u/Karilla42 Nov 25 '19
I dont understand but I saw Megumin so take my upvote
9
u/mememagic420420 Dec 01 '19
do people actually "rubber duck debug"? I found talking myself like a true antisocial person is usually good enough
6
u/Kormoraan Nov 25 '19
even though I will always prefer my Tux plushie for this I can respect this one aswell
3
u/[deleted] Jan 04 '20
git push -u origin master
EXPLOOOOOOSION!!
3
u/Mitoni Feb 06 '20
If only you saw my desk at work. I'm amazed HR hasn't had a talk with me yet. (Except not ducks)
2
u/MCRusher Nov 25 '19
You work from home?
1
u/Sugoypotato Nov 27 '19
umm is it me or what tf is coming out of megumins ass?