Pair Programming

17
PAIR PROGRAMMING & APPLICATION TO GD Nguyen Quang Vu

Transcript of Pair Programming

Page 1: Pair Programming

PAIR PROGRAMMING &APPLICATION TO GD

Nguyen Quang Vu

Page 2: Pair Programming

Content• What Pair Programming?• Why Pair Programming?• How Pair Programming?• Application to GD

Page 3: Pair Programming

What Pair ProgrammingAgile Developement - Extreme Programming

Page 4: Pair Programming

What Pair Programming• 2 Devs - 1 Task• 1 Workstation• Switch often

Driver Navigator

Driver Navigator

"Each member performs the action the other is not currently doing"

According to http://c2.com/cgi/wiki?PairProgramming

Page 5: Pair Programming

What Pair Programming• Opposite of lean development• 15% more programmer-hours• 15% less bugs/better code

According to http://www.cs.utah.edu/~lwilliam/Papers/ieeeSoftware.PDF

Page 6: Pair Programming

Content• What Pair Programming?• Why Pair Programming?• How Pair Programming?• Application to GD

Page 7: Pair Programming

Why Pair Programming• Built-in peer review

Page 8: Pair Programming

Why Pair Programming• Built in peer review• Better thoughtout code

Better focus

Page 9: Pair Programming

Why Pair Programming• Built in peer review• Better thoughtout code• Earlier errors catching

Page 10: Pair Programming

Why Pair Programming• Built in peer review• Better thoughtout code• Earlier errors catching• Better knowledge sharing

Page 11: Pair Programming

Pair Programming Objections• "It's distracting. It interrupts my flow and concentration."• "It's wasteful. We might not spend twice as long, but we'll

certainly spend longer!"• "The other guy thinks too quickly, I cannot follow his

thinking."• "The other guy thinks too slowly, I don't want to be a

teacher all day long!"

According to http://c2.com/cgi/wiki?PairProgrammingDoubts

Page 12: Pair Programming

Content• What Pair Programming?• Why Pair Programming?• How Pair Programming?• Application to GD

Page 13: Pair Programming

How Pair Programming• Pair match-up

Expert- Expert Expert- Novice Novice- Novice

EffectivenessCreativenessDevelopment

Peer PeerMentoring

According to http://www.cs.utexas.edu/users/mckinley/305j/pair-hcs-2006.pdf

Page 14: Pair Programming

Pair works• Same concept/structure• Common Pair work

– HR– Finance– Education

Driver Navigator

DriverNavigator

Page 15: Pair Programming

Content• What Pair Programming?• Why Pair Programming?• How Pair Programming?• Application to GD

Page 16: Pair Programming

Application to GD• Pair: Trung 4 - Vu 2• Project: IAA + Cars• 30 min switch period

Page 17: Pair Programming

THANK YOUQ&A