DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • Revolutionizing Financial Monitoring: Building a Team Dashboard With OpenObserve
  • The Modern Data Stack Is Overrated — Here’s What Works
  • Platform Engineering for Cloud Teams
  • Shifting Left: A Culture Change Plan for Early Bug Detection

Trending

  • What’s Got Me Interested in OpenTelemetry—And Pursuing Certification
  • Is Big Data Dying?
  • MCP Servers: The Technical Debt That Is Coming
  • Supervised Fine-Tuning (SFT) on VLMs: From Pre-trained Checkpoints To Tuned Models

Buddy Programming

When I encounter a team that’s reluctant to try pairing, sometimes I’ll suggest another technique that I call buddy programming.

By 
David Bernstein user avatar
David Bernstein
DZone Core CORE ·
Jan. 23, 17 · Opinion
Likes (2)
Comment
Save
Tweet
Share
8.4K Views

Join the DZone community and get the full member experience.

Join For Free

Sometimes, the practices of Extreme Programming can be a bit too extreme when first introducing them to a team. This is especially true with pair programming.

Of all the practices that I teach software developers, I get the most resistance from pair programming, Both developers and their managers are skeptical about pair programming, although each has different concerns.

Managers tell me they can’t afford to cut their developers’ productivity in half — but that actually doesn’t happen. Productivity increases for teams that do pair programming well for a number of reasons, but most fundamentally because when people are working together, they stay focused on a task more consistently than when they’re working on their own. This has several side effects, including fewer bugs, higher quality code, and better work habits.

The resistance I get from developers is different. Their main concern is often compatibility between partners, but it usually turns out that we can be most productive with people who are different from us rather than the same as us. It’s the differences between us that make for a good pair. Our differences can often complement each other. When everybody understands the ground rules and the purpose of pairing, it can grow into a very positive experience.

I know teams who pair on everything because they find so much value in it most of the time. Of the hundreds of teams I’ve introduced pair programming to, many of them continue to use the practices. Developers love pair programming when they’re introduced to it correctly.

The trick to getting a team to adapt pair programming is often just getting them to try it. When I encounter a team that’s reluctant to try pairing, sometimes I’ll suggest another technique that I call buddy programming.

Buddy programming is not pair programming. With buddy programming you work on your own, by yourself, for most of the day, the way traditional knowledge workers typically work. However, at the end of the day, you get together with your buddy and walk through the code you each wrote since the last time you were together.

You’re checking in with another person, either at the end of the day or at the beginning of the next day for maybe an hour or so and reviewing each other’s work including decisions, designs, code, questions, etc. I find that this approach can often be a gateway for developers to adopt pair programming. They find it so productive working with their buddy that they do more and more of it throughout the day until it eventually goes from code reviews to code creation.

Some teams prefer to stay with buddy programming and use it as a way of enforcing code reviews among the team. However, I have seen other teams soften to the notion of pairing and move from buddy programming to pair programming as the way they work most of the time.

teams

Published at DZone with permission of David Bernstein, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Revolutionizing Financial Monitoring: Building a Team Dashboard With OpenObserve
  • The Modern Data Stack Is Overrated — Here’s What Works
  • Platform Engineering for Cloud Teams
  • Shifting Left: A Culture Change Plan for Early Bug Detection

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!