18
Sukhi
7y

Do rubber ducks really help when debugging?

Comments
  • 2
    Yey they do.
  • 2
    Nah treeson works better
  • 13
    Well, I don’t look like a completely nut when yelling at my computer because something won’t work.

    Them: “who are you talking to”
    Me: “the duck”
  • 2
    Yes. Absolutely yes.
  • 5
    you don't need a rubber duck to do rubber duck debugging, the idea is to explain your code step by step to something as stupid as a rubber duck.

    putting an actual rubber duck on your desk is just an inside joke.
  • 4
    @balte, it doesn't really need to be something stupid. You don't even need to simplify the problem or make a ELI5-type version. You only need to try and explain it. You can just choose an actual person who doesn't know the problem, write in a text file, or a simple sheet of paper, and so on.
  • 4
  • 3
    Non-tech people such as your girlfriend, your mom, etc. work too, as long as they don't get annoyed by it lol
  • 2
    For me they do. But my rubber duck is a stuffed animal... (company mascot).
  • 1
    Anyways, if rubber ducks isn't your thing, just ask yourself
  • 1
    I explain my code to the business analyst in my team. Works quite the same.
  • 1
    I use my little 2y/o sister for that. And YES it DOES help. a lot.
Add Comment