Rubber Duck Coding Method

This is in addition to the list of finished scripts which are available on the project s github.
Rubber duck coding method. Beg borrow steal buy fabricate or otherwise obtain a rubber duck bathtub variety. Suddenly you think differently than you were in that rut of brokenness. The name is a reference to a story in the book the pragmatic programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it line by line to the duck. We are not.
If you don t have a coding buddy but you totally should you can leverage the rubber duck problem solving technique to figure out problems all by yourself or with the benefit of the greater internet community. While it appears to be an innocuous usb thumb drive when it is plugged into a computer it instead registers itself as a usb keyboard on the system and fires off a keystroke payload at lightning speed. Many other terms exist for this technique often involving different usually inanimate objects or pets. Onward to bigger problems.
The act of speaking out loud forces you to slow down and be more precise and thoughtful in your explanations. In software engineering rubber duck debugging is a method of debugging code. At stack exchange. Rubber duck problem solving.
It is precisely this that makes rubber duck debugging effective. Suddenly your perspective is different. And that s super important. Place rubber duck on desk and inform it you are just going to go over some code with it if that s all right.
Fortunately ducky scripts may be converted into binary to embed them then into firmware. For usb rubber ducky there is a whole website with a friendly interface which lets you create any scripts for your device online. After all the rubber duck doesn t know what you know. When you go through code line by line explaining each part to the rubber duck you pay closer attention to the small details.
Vlog 46 today i cover rubber duck debugging. Beyond the rubber duck. The rubber duck debugging method is as follows.