Difference between revisions of "Pairing Techniques"
Line 6: | Line 6: | ||
driver thinking about next thing to type | driver thinking about next thing to type | ||
Need to agree when you're switching | Need to agree when you're switching | ||
+ | |||
AP: can be good when skills unequal | AP: can be good when skills unequal | ||
Line 11: | Line 12: | ||
TDD cycle | TDD cycle | ||
A writes a failing test, B makes it pass, then B writes another red test, then hands over to A who makes it pass | A writes a failing test, B makes it pass, then B writes another red test, then hands over to A who makes it pass | ||
+ | |||
Jeffrey F: good when equal skills | Jeffrey F: good when equal skills | ||
+ | |||
AP: Doesn't work so well when teaching - learner tends to flounder | AP: Doesn't work so well when teaching - learner tends to flounder | ||
'''Ball and board''' | '''Ball and board''' | ||
One get keyboard, one gets mouse. keyboard user not allowed to move using arrows | One get keyboard, one gets mouse. keyboard user not allowed to move using arrows | ||
+ | |||
Jeffrey F: designed and works well if mouse person knows code, keyboard user is learning | Jeffrey F: designed and works well if mouse person knows code, keyboard user is learning | ||
+ | |||
Similar to Han Solo (keyboard person who is doing hero work) and Chewie (just navigates and grunts) | Similar to Han Solo (keyboard person who is doing hero work) and Chewie (just navigates and grunts) | ||
'''Batting practise''' | '''Batting practise''' | ||
− | Like ping pong, but I write test, you write code, I write another test, you write passing code | + | Like ping pong, but I write test, you write code, I write another test, you write more passing code |
'''Q: What about remote pairing?''' | '''Q: What about remote pairing?''' | ||
Antony M: TeamViewer works well. On Mac, iChat successful (but used Skype for voice, and video didn't work). Connection speed matters a lot. | Antony M: TeamViewer works well. On Mac, iChat successful (but used Skype for voice, and video didn't work). Connection speed matters a lot. | ||
+ | |||
Jeffrey F: SubEthaEdit is a collaborative editor | Jeffrey F: SubEthaEdit is a collaborative editor | ||
+ | |||
AM: best with voice, video, and screensharing. put voice and video on 2nd screen on one side so you look "toward" the other person | AM: best with voice, video, and screensharing. put voice and video on 2nd screen on one side so you look "toward" the other person | ||
+ | |||
Q: How do you get control of keyboard? A: Work same as when you have two keyboards and mice in person | Q: How do you get control of keyboard? A: Work same as when you have two keyboards and mice in person | ||
+ | |||
+ | PJ: Used corporate phone connection, shared screen from one bank location to another |
Revision as of 02:17, 6 November 2010
Live scribing - will update and tidy up later
Andy Parker: driver-navigator sitting back person has to have a notebook, bigger picture, what's the list of done criteria - list gets bigger and bigger driver thinking about next thing to type Need to agree when you're switching
AP: can be good when skills unequal
ping pong TDD cycle A writes a failing test, B makes it pass, then B writes another red test, then hands over to A who makes it pass
Jeffrey F: good when equal skills
AP: Doesn't work so well when teaching - learner tends to flounder
Ball and board One get keyboard, one gets mouse. keyboard user not allowed to move using arrows
Jeffrey F: designed and works well if mouse person knows code, keyboard user is learning
Similar to Han Solo (keyboard person who is doing hero work) and Chewie (just navigates and grunts)
Batting practise Like ping pong, but I write test, you write code, I write another test, you write more passing code
Q: What about remote pairing? Antony M: TeamViewer works well. On Mac, iChat successful (but used Skype for voice, and video didn't work). Connection speed matters a lot.
Jeffrey F: SubEthaEdit is a collaborative editor
AM: best with voice, video, and screensharing. put voice and video on 2nd screen on one side so you look "toward" the other person
Q: How do you get control of keyboard? A: Work same as when you have two keyboards and mice in person
PJ: Used corporate phone connection, shared screen from one bank location to another