< Return to Video

Pair Programming

  • 0:05 - 0:11
    Today we're going to learn about pair programming.
    In pair programming, you work as a team. Why
  • 0:11 - 0:17
    should two people use one computer? Because
    two heads are better than one. We work together
  • 0:17 - 0:24
    in an interesting kind of way. Because we're
    interesting people. We are interesting people.
  • 0:24 - 0:28
    In pair programming, you and your
    partner are going to sit down together at
  • 0:28 - 0:33
    one computer and you're both going to work
    on the same project. Right now we're working
  • 0:33 - 0:36
    on Code Monsters!
  • 0:38 - 0:43
    In pair programming, one
    person is the driver and the other person
  • 0:43 - 0:47
    is the navigator, just like driving a car.
  • 0:47 - 0:51
    Your choice, driver or navigator? Driver.
  • 0:51 - 0:57
    The driver sits at the computer and is the one using
    they keyboard, mouse, or touch screen and
  • 0:57 - 1:02
    controls the main actions of the computer.
    I'm setting the arrows so that they make the
  • 1:02 - 1:07
    character move in the direction that he's
    trying to move. And the other person is the
  • 1:07 - 1:12
    navigator. The navigator helps the driver
    by answering the driver's questions and pointing
  • 1:12 - 1:15
    out potential problems or mistakes.
  • 1:15 - 1:19
    Go left. Instead of righty tighty, go right.
  • 1:20 - 1:25
    Communication
    is key to successful pair programming. Don't
  • 1:25 - 1:33
    DON'T: insult your partner. DO: be respectful. DON'T
    be a bossy navigator, because nobody likes a backseat driver.
  • 1:33 - 1:39
    Why can't you do this? Wait, hey! Stop that, give it back. (DON'T grab the driver's mouse/keyboard)
  • 1:40 - 1:45
    Communication is key to successful
    pair programming. You and your partner
  • 1:45 - 1:49
    should always be talking.
    (DO talk to one another about the work)
  • 1:49 - 1:54
    The driver can explain what s/he is doing.
    (DO explain what you are doing)
  • 1:54 - 2:01
    The navigator can help suggest what to do next.
    (DO think ahead and make suggestions)
  • 2:01 - 2:06
    The navigator should be thinking about
    the big picture and the driver focuses on
  • 2:06 - 2:09
    the details. Both roles are important
  • 2:09 - 2:12
    Want to switch? Okay. I'm the driver now. (DO switch roles often)
  • 2:12 - 2:15
    Be sure to switch roles often.
  • 2:15 - 2:18
    Wait a second, why isn't this working?
  • 2:18 - 2:22
    You need to attach it up there,
    look there's a hole.
  • 2:22 - 2:26
    Did you see how my partner helped me to figure out the puzzle with fewer tries?
  • 2:26 - 2:29
    She caught my mistakes. Pair programming
  • 2:29 - 2:32
    is all about working together as a team.
  • 2:37 - 2:40
    DO: Be respectful, talk to one another about the work, explain what you are doing
  • 2:40 - 2:43
    DO: think ahead, make suggestions, switch roles often.
  • 2:43 - 2:46
    DON'T: be a bossy navigator or grab the driver's
    mouse/keyboard.
Title:
Pair Programming
Description:

more » « less
Video Language:
English
Team:
Code.org
Project:
CSF '21-'22
Duration:
02:51
Amara Bot edited English subtitles for Pair Programming
Amara Bot edited English subtitles for Pair Programming

English subtitles

Revisions Compare revisions