7 April 2023

Rubber Duck debugging

Share this message
Rubber Duck debugging

“I’ve done everything right, so why doesn’t it work?”

We’ve all been there. You’ve crafted a script or expression that should do exactly what you intended. Except it doesn’t. You stare at the code and scrutinize every expression, but the error still eludes you. In cases like these, Rubber Duck debugging, or Rubberducking, can be a very helpful technique.

What is Rubber Duck debugging?

When you apply Rubber Duck debugging, you explain your code and its expected result step by step in natural language. As the name implies, your counterpart in this exercise is typically a rubber duck. Of course, you can also use other objects, pets, or even non-technical coworkers.

While you explain your code, you’ll (hopefully!) run into a step where the intended action you’re explaining doesn’t match with what’s actually happening. Quack! Eureka! Problem solved.

Get your own Bitmetric Rubber Ducky!

Whether you are already applying this technique, or want to start using it, you can now augment and enhance your experience with your very own Bitmetric Rubber Ducky.

How can you get one?

Attend any of our onsite events, keep an eye out on our blog posts and LinkedIn page for upcoming events.

Quack quack! 🦆

Take your Qlik skills to the next level!

Since 2013, the Masters Summit for Qlik is the premier advanced training for Qlik. Join us in Vienna and take your Qlik skills to the next level.

Join the Bitmetric team!

Join the team!

Enjoying these challenges? We have many more, and we’ll even pay you to solve them 😉 Check out our job opening.

Debugging Technique

How can we help?

Barry has over 20 years experience as a Data & Analytics architect, developer, trainer and author. He will gladly help you with any questions you may have.