liveBook · Manning

Pair programming

As explained in Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

Pair programming is a software development practice in which two programmers work together on the same implementation, typically sharing one workstation or alternating coding and navigation roles.

Pair programming is the practice of two programmers working together at one workstation. In infrastructure-as-code work, it moves change review earlier, combining implementation with immediate collaboration. section 7.3

Use pairing deliberately when infrastructure changes require shared understanding:

  • Have one engineer catch omissions or risks that the other may miss. section 7.3
  • Share infrastructure terminology and institutional knowledge while changes are written. section 7.3
  • Expect an initial delivery slowdown, resource constraints, personality conflicts, and differences in working pace. section 7.3
  • Build self-awareness and discipline so pairing remains a safe space for learning and applying coding best practices. section 7.3

Infrastructure access control

Pair on a change that adds a team to a GCP project. Discuss whether access should use an authoritative binding, then encode the decision while sharing its rationale with current and future teammates. section 7.3

How Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform covers it

How deep it goes
Defines the practice, explains benefits and adoption risks, but defers detailed pairing processes.
Examples
Uses GCP project access control, authoritative bindings, and collaborative infrastructure implementation as concrete examples.
What it assumes
Assumes infrastructure terminology and team context, while encouraging shared learning of coding best practices.
What you can do after
Apply pairing to identify infrastructure conflicts earlier and preserve architectural rationale during implementation.
How it connects
Connects peer review, automated testing, infrastructure as code, and continuous integration.

Also explained in

Compare how 5 books explain pair programming →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform. The section links point to the parts of the book it draws on.