Pair Programming

Pawel Pierzchala @zwrozka

XP

xp

Why?

Fun

high five

Less frustration

frustration

More focused

Less bugs

bugs

Higher quality

Continuous code review

facepalm

Collective code ownership

collective code ownership

Problems

Too much talking

boss

Synchronization

Environment

Vim vs Emacs

vim

Pairs

good pair?

Tips

Keyboards are cheap

keyboard

Keeping the focus

Switch roles often

Red Green Refactor

red-green-refactor

Red Green Refactor

red-green-refactor

Switch pairs daily

Exercise

Same problem

roman numerals

Practice cycle

Practice switching

IDE

vim

Start with simple requirement

I + I = II

Communicate with good descriptions

Talk is cheap. Show me the code.

Links

Pair Programming vs. Code Review

Does pair programming work?