Skip to content

Commit

Permalink
article: rubber duck debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
tri2820 committed Oct 21, 2024
1 parent 28926e1 commit 9e7170a
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 2024/rubber_duck_debugging/article.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- BEGIN TITLE -->
# Rubber duck debugging
<!-- END TITLE -->

<!-- BEGIN BODY -->
Sometimes, you're just stuck on a problem that seems impossible to solve. But then as soon as you start explaining the issue to a friend, the solution suddenly becomes clear.

This is the essence of **rubber duck debugging**. In this technique, a programmer keeps an inanimate object—often a rubber duck—accompanying them at their desk. By explaining the problem aloud to the duck, they are forced to slow down and think through the issue in more detail. On many occasions, this procedure helps in finding the root cause.

The duck itself isn't magical, but it offers a convenient alternative to always needing someone to talk to whenever you encounter a bug.
<!-- END BODY -->

## Author
<!-- BEGIN AUTHOR -->
- Fabian
- Tri
<!-- END AUTHOR -->
Loading

0 comments on commit 9e7170a

Please sign in to comment.