- overcome weirdness of pairing
- practice different styles
- understand the benefits
- collectively own the codebase
- build better software by thinking more
- share knowledge across team members
- learn how to communicate about code
- Form a pair
- Pick a simple kata
- One person has the keyboard the other closes the laptop
- Code for 15 minutes
- Swap roles
- Code for 15 minutes
Try to stick to the timing so that you can swap pair and try it again.
Both driver and navigator should keep their role for the time that they have decided upfront. It is like role-playing, keep your role for your turn. When the time is up you will swap and have the opportunity to take on the other role.
Pair programming is a soft skill, there aren't strict rules. Especially at the beginning it will feel weird and time wasting, but practicing will show the real value, especially on more complex projects.
- remember to describe your thought while coding
- discuss high level implementations
- ask questions every time you don't understand something
- try not to influence too much the driver