Geek Trivia: Explaining Your Code To An Inanimate Object Is A Programming Trick Known As What?

Coderphrenia Talkthrough Testing Rubber Duck Debugging Oral Examination geek-trivia-explaining-your-code-to-an-inanimate-object-is-a-programming-trick-known-as-what photo 1

geek-trivia-explaining-your-code-to-an-inanimate-object-is-a-programming-trick-known-as-what photo 2
Answer: Rubber Duck Debugging

Rubber Duck Debugging is an informal method of debugging code that programmers have long relied on as a simple and cost effective way to catch code errors. The programmer, once he or she has finished coding, takes a moment to explain the code, line by line, to the rubber duck on their desk (or whatever other inanimate object, figurine, or toy they have handy).

By poring over their own code and explaining it out loud to the inanimate object, the programmer will often times catch errors in the code as the mismatch between what the programmer is explaining the program to do and what the code on the screen actually does is made more apparent–the programmer’s version of a student reading their term paper out loud to check for errors.

Other terms for Rubber Duck Debugging include Confessional Debugging and Cardboard Programmer.

Article Geek Trivia: Explaining Your Code To An Inanimate Object Is A Programming Trick Known As What? compiled by Original article here

More stories

The Role of Airports In Epidemics [Video]

People often joke about how they’ve caught their latest case of the sniffles from a recent flight, but airports can become much more serious disease hubs. Check out this video and accompanying study for a peek at the mo...

The Best How-To Geek Articles for July 2012

Last month we covered topics such as how to make Google Chrome fast again, build a $35 media center with Raspbmc and Raspberry Pi, why using your monitor’s native resolution is important, and more. Join us as we look back at the best articles for July.

How to Root Your Nexus Phone or Tablet

Use the Nexus Root Toolkit to quickly root your Nexus devices, whether you’ve got a Nexus 7, Galaxy Nexus, or even a Nexus S. Rooting allows you to use powerful apps that don’t work in Android’s default sandbox.