Webhosting | Hosting - My Hosting PartnerWebhosting | Hosting - My Hosting PartnerWebhosting | Hosting - My Hosting PartnerWebhosting | Hosting - My Hosting Partner

Rubber Ducky Debug-Methode

Rubber Ducky Debug-Methode
MijnHostingPartner

Rubber Ducky Debug-Methode

In the daily work of a webmaster, a web developer or an employee in the IT area there are many different ways to solve problems. For example, there is the SCRUM method, AGILE and many other methods to work together quickly and efficiently in a group. But what about all those smaller problems for which you just can't think of an answer or solution? That's when the Rubber Ducky method comes to the rescue! Let's take a look at how this fun method works.

When it comes to programming and technical work, you may find yourself stuck. The standard response to this, of course, is to first ask someone else to look at your problem. However, this can often have a counterproductive effect on productivity. Instead of asking someone who is stuck, take a colleague out of the flow by looking at your code or problem. So it's better to try to solve the problem yourself first. But this is not always easy. The good thing about debugging with a rubber duck is that you explain it to yourself twice and read it out loud. This way, you discover things you may have missed or wanted to hear from yourself.

How does error correction with a bad duck work?

The error detection method for Rubber Duck is as follows:

  1. Beg, borrow, steal, buy, make, or otherwise obtain a rubber duck (bath duck variety).
  2. Put the rubber duck on the desk and tell him you're just going to run some codes by him, if that's all right.
  3. Explain to the duck what you want your code to do, and then go into detail explaining your code line by line.
  4. At some point, you'll tell the duck what you're going to do next, and then realize that you're not actually doing it. The duck will sit quietly and be happy that it helped you along the way.

Note: In a pinch, a colleague can replace the rubber duck, but it's often better to trust mistakes to the duck than to your colleague.

Original credit: ~Andy from lists.ethernal.org

Frequently asked questions

  • If ducks are so smart, why don't we let them do all the work? It would be nice if this were true, but the fact is that most ducks prefer to take a mentoring role. However, there are a few ducks that choose to program, but no one hears about them because they are selected for secret government projects that are top secret.
  • Where can I learn more about debugging rubber ducks? More information can be found at wikipedia.org, lists.ethernal.org, codinghorror.com, and zenhub.com.
  • Where can I rent my own duck? Good question! Become a customer of MijnHostingPartner.nl and buy the duck with your partner credit in the webshop. These ducks have earned their technical degrees from some of the world's leading universities.
  • For more information about Rubber Duck, please visit https://rubberduckdebugging.com/.

Fixing errors on your website

Of course, not everyone will be programming their website manually anymore, so they won't be using the Rubber Duck method in the traditional way. But it can still be used to create copy, ad copy, and fix errors on your website. And other website hosting tasks that may require a little more attention. By quietly explaining the error or reading the text out loud, you can check yourself for reading fluency and maybe find the problem. Be it in your code, your plugin list, or your text. This makes a Rubber Ducky on your desk a valuable sparring partner to help you solve your web questions and problems faster!