Quacking the Code: The Merits of Real Duck Debugging Versus Rubber Duck Debugging
Authors
- Penelope Quackston
- Mallard Drakeford
- Greta Featherstein
DOI: 22.2222/DBJ/ko33igey
Published: 2024-06-27 · Vol. 1 (2024) · Articles
Abstract:
This study explores the contrasting approaches of real duck debugging and rubber duck debugging in the field of software development. Rubber duck debugging is a well-known technique where programmers explain their code to an inanimate rubber duck to identify logical errors. In contrast, real duck debugging involves explaining code to a live duck. Through a series of experiments and interviews with programmers, our research aimed to evaluate the effectiveness and psychological benefits of both methods. Our findings suggest that while rubber duck debugging is useful, real duck debugging offers unique advantages, including enhanced focus, emotional support, and unexpected insights. This paper provides a comprehensive analysis of both techniques, highlighting the potential benefits of incorporating real ducks into the debugging process.