you are viewing a single comment's thread
view the rest of the comments
[–] 45 points 8 months ago (3 children)

Ah, a rubber duck debugging adherent. At least they paid good money for a professional.

  • source
  • hideshow 6 child comments
  • [–] 8 points 8 months ago (6 children)

    What is the rubber duck used for? Is it like the seashells in Demolition Man?

  • source
  • parent
  • hideshow 12 child comments
  • [–] 46 points 8 months ago (1 child)

    https://en.wikipedia.org/wiki/Rubber_duck_debugging

    tldr; basically you explain your buggy code to the duck, and when you explain it, you suddenly realize what the issue is.

    any inanimate or even imaginary object works, but rubber duck is the classic option.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 24 points 8 months ago (2 children)

    I find my dog works well too, she's a great listener.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 19 points 8 months ago

    Have you ever been stuck on a problem (school, work, personal, whatever) and as soon as you go to ask someone for help, you start explaining the problem and figure it out? You basically use the duck for that - explain the problem out loud to "someone else" and sometimes you'll see what you were missing.

  • source
  • parent