Skip to content

loqwai/pair-programming-stuff

Repository files navigation

Pair Programming Shiz

Links

The Pair Programming "Game"

2 "Players" alternate rolls

  • to prevent the roles of "driver" and "navigator" from developing
  • Also: try to mix up your pairs! "Fry" and "Zoidberg"
  1. Fry Makes the simplest test that can possibly fail
  • Usually using "AAA Testing": Arrange, Act, Assert
  1. Zoidberg makes the test pass in the simplest way possible (by being adversarial)
  • a heuristic for "Simplest" is the Transformation Priority Premise
  • possible refactoring, though it should be obvious when to actually do it
  1. Zoidberg makes the next simplest test that can possibly fail
  2. Fry makes the test pass in the simplest way possible (by being adversarial)
  3. Repeat until completed

Example game using Gin Rummy "Melds"

Rules of Gin Rummy

  • who cares? We're dealing with a subset

Gin Rummy valid "Melds"

  • three or four cards sharing the same rank, e.g. 8♥ 8♦
  • sequences of three or more cards in the same suit, such as 3♥ 4♥ 5♥ or more Les do it!
  • they look like this

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published