# Pair programming --- There are different ways to pair programme, but rubber ducking is the foundation. <img src="https://hackmd.io/_uploads/ryd-p0PRxe.png" width="100"> --- if you hit a blocker, ask a colleague to look over your shoulder while you explain the problem. --- The job of your colleague is to say nothing and to wait for you to solve your own problem through articulating it. --- If your colleague is feeling adventurous, they could ask questions, like *"Are there any error messages?"* or, *"Did you try anything else?"* or, *"What does Claude say?"* but leading questions or attempts at a solution should not be part of the dialogue. --- If you don't have a colleague handy, you can keep a rubber duck on your desk and explain your probem to the duck, as needed. --- Once you have mastered this technique, other forms of pair or mob programming will be trivial to master. You don't need us to tell you about them. --- That's it.
{"title":"Pair programming","description":"Not everyone likes pair programming and, if they do, not with everyone or all the time. However, it is a very useful skill to develop.","contributors":"[{\"id\":\"8719d6dc-d98a-4680-91f3-8a21fcb8ec84\",\"add\":1258,\"del\":291,\"latestUpdatedAt\":1761994511637}]"}
    75 views
   Owned this note