Programmers often discover solutions while explaining a problem to someone else, even to people with no programming knowledge. Describing the code, and comparing to what it actually does, exposes inconsistencies. Explaining a subject also forces the programmer to look at it from new perspectives and can provide a deeper understanding.

  • Caveman@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 days ago

    I call one of my coworkers once a week with “Can I rubber duck you?” which means I’m just going to talk about my problem and explain my thought process in hopes she spots an obvious solution.

    We do it to each other and 30% of the time the other dev says “why not just X” and we agree that it’s pretty obvious.