1 / 5

Pair Programming Workshop

Pair Programming Workshop. Pair Programming Review. 1 pair per computer Negotiate interactions (to some degree) 1 person “drives,” the other “observes” After some amount of time, trade places Talk a lot. How-to. 1 st agree on a solution Agree on one tiny goal at a time Drivers:

holland
Download Presentation

Pair Programming Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pair Programming Workshop

  2. Pair Programming Review • 1 pair per computer • Negotiate interactions (to some degree) • 1 person “drives,” the other “observes” • After some amount of time, trade places • Talk a lot

  3. How-to • 1st agree on a solution • Agree on one tiny goal at a time • Drivers: • Complete the current tiny goal first as quickly as possible • Rely on observer as your safety net • Generally write tests first

  4. How-to • Observers • Code review as its written • Consider bugs, test cases, structural issues, potential interface conflicts, possible simplifications, etc. • Point out bugs and errors right away • For larger issues, jot down notes and talk about after the tiny goal is done • Don’t talk in code

  5. Today’s Task: Sling Blade Runner • Problem: "How long a chain of overlapping movie titles, like Sling Blade Runner, can you find?" • Multi-word overlaps, as in "License to Kill a Mockingbird," are allowed. The same title may not be used more than once in a solution. Heuristic solutions are allowed. • Data provided by MovieLens at the University of Minnesota.

More Related