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! 🦆

Qlik Cloud Backup

Protect your investment in Qlik with daily incremental backups stored in an encrypted environment with redundant storage. Available for as little as 2 Euro per day. Learn more.

Join the team!

Do you want to work within a highly-skilled, informal team where craftsmanship, ingenuity, knowledge sharing and personal development are valued and encouraged? Check out our job openings.

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.