You may be expecting an article about the well known pen testing tool, the rubber ducky (see here). If you are, sorry to say that youâve ended up in the wrong place and
Instead weâre going to talk about the most useful tool in anyoneâs arsenal, regardless of whether theyâre hacker, developer, security professional, writer, or just about anything else. Itâs multipurpose, incredibly cheap, and massively underrated.
While the origins (officially speaking) lie in programming (it was first written about in
I am of course talking about rubber duck debugging, or rubberducking. Itâs taught in occasional computer science and programming courses, and referenced in textbooks.
What is Rubber Duck Debugging?
Firstly, the rubber duck aspect is optional. Really anything can be used, including empty air, but having a recognisable object with a bit of personality to it can make the technique a lot easier. In a pinch, where it would be inappropriate to carry a rubber duck around, a pocket supply of a few stick-on
The idea of rubber duck debugging is straightforward. When you are struggling with a problem, you simply ask the duck. Sounds useless, but the trick comes in that you have to try and explain the problem to the duck in terms it will understand. Since ducks are not the brightest of creatures already, and rubber ones lack even more in the brains department, those terms have to be as simple as possible.
Conceptually, itâs little different from something like pair programming, with the benefit that you donât need to take up the time of a second person to talk through the problem.
Seriously, Does it Work?
Anecdotal evidence suggests a strong yes. You wonât always get an answer. However, as a first step to avoid burning someone elseâs time as well as your own, itâs quick, efficient, and surprisingly effective.
Thereâs a technique called Active Listening which, for many people, has to be taught to understand and takes an effort to implement. Overall though itâs not that complicated a technique, as the core to it is to stop doing what almost everyone does during a conversation - to stop thinking about what youâre going to say next when itâs your âturnâ to speak and instead listen.
Image source: https://www.publicdomainpictures.net/en/view-image.php?image=400367
That means that in most conversations, even ones about seemingly complex problems, we arenât using whoever else is involved for their answers (and they likely arenât really listening that hard), weâre instead using the other person as a duck. Using a rubber duck instead saves that step, and has added benefits of preparing you for the conversation and making sure you wonât get halfway through your explanation to someone else before having to stop as the solution clicks in your brain.
At the very least, itâs something you should try. You wonât be embarrassing yourself in front of anyone, because you donât need another person around, and itâs easy to start using as a technique. If it doesnât work, no harm, no foul.
Can You Have Too Many Ducks?
Yes, yes you can. Just ask James Veitchâs roommate.
https://www.youtube.com/watch?v=uYOmtEcZ1lk