0% found this document useful (0 votes)
47 views5 pages

Pair Programming: Roles & Benefits

Uploaded by

spencerqin101
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views5 pages

Pair Programming: Roles & Benefits

Uploaded by

spencerqin101
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Pair Programming

Department of Engineering Education


ENGR 1181

Pair Programming
Two people write code together
• A collaborative way of coding
• In class, one student will act as the driver, one as the navigator, they will
use one computer.

2
https://martinfowler.com/articles/on-pair-programming.html
Department of Engineering Education
ENGR 1181

How to Pair
Driver and Navigator

• THE DRIVER is the person using the keyboard, typing in code.

• THE NAVIGATOR is observing, reviewing, and looking ahead. The


navigator should help by seeking out answers to questions, reviewing
the code on-the-go, looking for errors, and thinking ahead to next steps
when possible.

3
Department of Engineering Education
ENGR 1181

Pair Programming – Benefits and Best Practices


• Benefits for the classroom
─ Knowledge sharing between pair
─ Peer-to-peer teaching
─ Focus is easier to maintain when collaborating
─ Quality is improved
─ More confidence in asking questions

• Best Practices
─ Driver should talk through what they are doing
─ Rotate your partner, and rotate your role
─ Ask a lot of questions, focus on communication
─ Willingness to be vulnerable (willingness to talk about what you don’t
understand)
─ Be mindful of personal space 4
Department of Engineering Education
ENGR 1181

For more info:


• How to Pair Program (Pair Programming Tips from Steven Nunez) -
https://youtu.be/YhV4TaZaB84

• On Pair Programming - https://martinfowler.com/articles/on-pair-


programming.html

You might also like