跳到主要內容

Pair Programming


https://martinfowler.com/bliki/PairProgrammingMisconceptions.html

https://www.wikihow.com/Pair-Program

1. Start with a reasonably well-defined task before you sit down. 

2. Agree on one tiny goal at a time

3. Rely on your partner, support your partner.

4. Talk a lot!
Say what you are about to do, ask for an implementation idea, ask for a better way to solve the problem at hand, bring up alternative ideas, point out possible inputs that the code doesn't cover, suggest clearer names for variables and subroutines, suggest ways to implement the code in smaller steps, tell the driver that little bit of API knowledge that they need right at the moment they need it, etc.

5. Sync up frequently.

6. Take a moment to celebrate as you complete tasks and overcome problems

7. Switch roles often—at least every half hour.


留言

這個網誌中的熱門文章

Benefits of logging progress

Logging your experience has important benefits: Working through the steps will keep you from getting stalled. As a cohort you will build up a useful body of information that others can learn from. You will have a chance to find other students working on similar challenges, allowing you to collaborate.