The art of Rubber Ducking or Rubber Duck Debugging
It works. Really.
"Put a rubber duck on your monitor and tell it how the code is supposed to work."
The Rubber Duck can be your disinterested roommate, non-technical spouse, or your work-spouse. I call Damian Edwards or Tara Walker all the time and they just listen to me explain how it should work and somewhere in the middle of explaining it out loud I'll go...OOOOOOOOHHHH...and then I've solved it.
If you are new to programming, go check out my YouTube, specifically this one about being Overwhelmed with Programming. I talk about the importance of Rubber Ducking and verbalizing how your code should work.
This can be challenging in these remote times, so I recommend that you try to build a small community of like minded friends and developers. You can find folks on Discord and other community sites or consider reaching out to a friend on Twitter or from work and say "I can use you as a rubber duck sometimes?"
I have little Gundam and Gunpla (Amazon link) robot models on my desk and I'll use them to help me debug.
This might sound silly but it ABSOLUTELY works. Ask around. Try it.
You'll find that getting the problem outside your head, via your mouth, and then back into your ears is often enough to shake brain cells loose and help you solve the issue.
Rubber Ducking also is great practice in technical communication! Have you ever given a technical talk? There's actually not much distance between explaining a technical issue clearly, correctly, and concisely and giving a talk at a user group or conference!
Have you tried Rubber Duck Debugging? Let us know AND encourage early in career Code Newbies to consider (and normalize) this technique!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
Where I live, married people don't talk to rubber ducks. This is especially true when their spouses are in the same house with them because of COVID-19.
In these lockdown times, I've found even writing an email to someone to explain the problem works pretty well also.
Maybe I should phone her up when I'm stuck with programming ...
It is more difficult to choose what to dream about, but if you are really obsessed by a piece of code it is quite possible. And the results are amazing. Did you ever tried?
I'm a big fan to.
For young programmer born with an iPhone in the hand, it's hard to understand that thinking about a problem and finding a solution is a matter of technology. I'm 100% agree with you when you talk about the right environment, talking to a toy or writing on a paper notebook. Good technology is great but the process of thinking is in my view better than any other things.
am sending it to a few friends ans also sharing in delicious.
And obviously, thanks to your effort! https://parbrizeladomiciliu.ro/parbriz-hyundai-h1.html
here early in the morning, because i love to learn more and more. https://vanzari-parbrize.ro/parbrize/parbrize.php
Just wanted to say I love reading through your blog and look forward to all your posts!
Keep up the great work! https://parbriz-luneta.ro/Parbriz-volkswagen-lt-2006.html
Keep up the good writing. https://vanzari-parbrize.ro/parbrize/parbrize-maserati.html
up, it looks great. I've bookmarked it in my google bookmarks.
Hello there, simply became alert to your weblog through Google,
and found that it's really informative. I am
gonna watch out for brussels. I'll appreciate in case you proceed this in future.
Many folks can be benefited from your writing. Cheers! https://vanzari-parbrize.ro/parbrize/parbrize-kia.html
I'll bookmark your weblog and check again here
frequently. I am slightly sure I'll be informed plenty of new stuff right right
here! Best of luck for the next! https://anunturi-parbrize.ro/index.php?page=21840
this website and be updated with the latest news update posted
here. https://vanzari-parbrize.ro/parbrize/parbrize-hyundai.html
Also, thanks for allowing me to comment! https://anunturi-parbrize.ro/index.php?page=12646
The sector hopes for more passionate writers like you who are not afraid to say how
they believe. Always go after your heart. https://parbriz-luneta.ro/Parbriz-honda-insight-2001.html
fruitful in support of me, keep up posting these types of content. https://parbriz-auto-bucuresti.ro/parbriz-peugeot-5008.html
everything is accessible on net? https://vanzari-parbrize.ro/parbrize/parbrize-iveco.html
It's the "Socratic Method" and not "rubber ducking".
"Recoining" without anything new added should be avoided. ITIL vs DevOps, etc.
really nice, keep it up! I'll go ahead and bookmark
your site to come back down the road. All
the best https://parbrizeladomiciliu.ro/parbriz-hyundai-h100.html
wish for to say regarding this article, in my view its truly awesome for me. https://parbriz-luneta.ro/Geam-rover-100-1990.html
I have joined your feed and look forward to seeking more of your excellent post.
Also, I have shared your web site in my social networks! https://vanzari-parbrize.ro/parbrize/parbrize-mercedes.html
is fastidious, thats why i have read it entirely https://vanzari-parbrize.ro/parbrize/parbrize-fiat.html
my presentation topic, which i am going to convey in academy. https://vanzari-parbrize.ro/parbrize/parbrize-opel.html
Comments are closed.