Trivia

Hard

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

Rubber Duck Debugging
Oral Examination
Talkthrough Testing
Coderphrenia
A rubber duck sitting on a laptop looking at code.
Tom Morris/Wikimedia

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 they have finished coding, takes a moment to explain the code, line by line, to the rubber duck on their desk (or whatever other inanimate object, like a 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 program is supposed 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.

Trivia

Easy

What Sci-Fi Franchise Yielded The Best Selling Instrumental Single Of All Time?

Trivia

Easy

In The Original Usage, “Freelancers” Were?

Trivia

Hard

A Pen Invented By Thomas Edison Is Still In Use Today For What Purpose?

Trivia

Hard

The Lava Lamp Was Invented By Whom?

Trivia

Very Hard

The First Major-Label Recording Artist To Release A Digital Album Was?

Trivia

Hard

Torpedos, The Naval Military Munition, Derive Their Name From?

Trivia

Easy

Which Famous Inventor Allegedly Electrocuted An Elephant To Discredit His Competition?

Trivia

Hard

The Memorization Technique Used By Memory Contest Champions Is Called?

Trivia

Easy

In The U.S. People See A Man In The Moon, But In Japan They See A?

Trivia

Easy

Which Of These States Is Not Part Of The U.S. “New England” Region?