Study Skills

Learn how to study

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rubber_ducking [2019/02/28 10:32]
criley
rubber_ducking [2019/10/08 12:51] (current)
criley
Line 1: Line 1:
 ====== Rubber Ducking ====== ====== Rubber Ducking ======
 {{::​rubber-duck-yellow-clipart.jpg?​200 |}} {{::​rubber-duck-yellow-clipart.jpg?​200 |}}
-There’s a thing that many computer programmers do: [[https://​en.wikipedia.org/​wiki/​Rubber_duck_debugging|they talk to rubber ducks]]. No, this is not a sign of impending mental collapse. It’s a real technique to understand what might be going wrong with the program. They will talk to a rubber duck, or some other inanimate object, and explain what the program does, line by line. Frequently, this will lead to an “Ah ha!” moment where they will suddenly understand what is wrong and how to fix it.+There’s a thing that many computer programmers do: [[https://​en.wikipedia.org/​wiki/​Rubber_duck_debugging|they talk to rubber ducks]]. ​([[https://​lifehacker.com/​solve-your-own-problems-with-the-rubber-duck-trick-1838784520|Another article.]]) ​No, this is not a sign of impending mental collapse. It’s a real technique to understand what might be going wrong with the program. They will talk to a rubber duck, or some other inanimate object, and explain what the program does, line by line. Frequently, this will lead to an “Ah ha!” moment where they will suddenly understand what is wrong and how to fix it.
  
 What is happening is this: By explaining what is happening at a detailed level, you force yourself to look at the problem in a different way. Many programmers will call over someone to help, explain what’s going wrong, realize what to do, thank their coworker (who hasn’t done anything), and then fix the problem. The rubber duck makes it so they don’t have to bother a coworker. What is happening is this: By explaining what is happening at a detailed level, you force yourself to look at the problem in a different way. Many programmers will call over someone to help, explain what’s going wrong, realize what to do, thank their coworker (who hasn’t done anything), and then fix the problem. The rubber duck makes it so they don’t have to bother a coworker.
rubber_ducking.txt · Last modified: 2019/10/08 12:51 by criley