[Article] Pair programming: what it is, why people use it, and how you can learn to pair-program

Pair-Programming

Pair programming is useful to learn and experience, as the skills and collaborative dynamics used in pair-programming will come up when you’re working on developer teams or encounter a really tricky technical issue.

What is Pair-Programming?

Pair-programming is an Agile development technique in which two programmers work on a project at the same terminal at the same time. You can find more thorough explanations of how it works here:

As you can see from the video, pair-programming involves two programmers working in tandem, in specific roles of driver and navigator, to work more quickly and to share knowledge. There are many benefits to working this way, as you’ll see below.

Why Do People Use Pair-Programming?

Pair-programming is used to great effect in both educational and professional contexts. It is a useful teaching tool, a great onboarding tool, and an efficient way to plow through certain types of coding problems by applying two brains instead of one.

Both of these articles are from the point of view of companies or organizations who use pair-programming on the job. You can find a detailed guide to how developers look at pair-programming in the article below.

Pair-programming is also used in educational contexts by coding students. Take a look at this post and this one to learn about how pair-programming specifically benefits students.

How Can I Learn to Pair-Program?

If pair-programming is something you’d like to try, we recommend starting with this Brainpop tutorial video. It’s less than five minutes long and offers a good, more practical look at what we’ve talked about in this post.

You can also watch two Codecademy employees pair-program here. This video is a more detailed look at how the pair-programming process works and will show you how the driver and navigator work together over the course of an hour.

If reading about pair-programming is more your jam, you can read more about it in this PDF from Hunter College’s CS program and in this Atlassian developer blog.

Once you’ve reviewed all of this material, talk with others! They can be a great help with figuring out when in your course of study you should try a pair-programming project and perhaps can even pair-program with you first one-on-one to get you accustomed to the process. Have fun!

A special thank you to Codecademy Product Manager, @oduffy, for compiling these resources and drafting this article!

Hi There,

Where can we get help about pair programming?

I have posted in my group in march and not 1 response:
https://discuss.codecademy.com/t/full-stack-engineer-group-59-2021/567753/37?u=wesleycampbell

I tried to join the discord server but just says the link is not valid, but the strange thing is, now discord will not allow me to login at all now…

So it is just so frustrating when you tell us to pair program, but then leave us hanging. Ive been through the resources which are useless if we can not find partners. every time I see the pair programming article which pops up in the syllabus every now and then, its annoying knowing we can not do anything about it.

Can we finally get some help with this or not?

@wesleycampbell

Hey Wesley,

I haven’t really got into pair programming either, if this hasn’t been solved for you yet feel free to add me on discord Mr Al#3055 and we can figure this out or pair when needed.

Cheers!

1 Like

Hello World!

I’m Punit Choudhary from India. I have enrolled in Data Scientist Path. I have decent knowledge of Python Programming.
I am eager to learn :grinning_face_with_smiling_eyes:
Let’s connect for pair programming, portfolio
Codecademy profile

Peace :v: :white_flower:

1 Like

Heya!

My name is Marco and I am also on the Data Scientist Path. I am rather new to programming and I would also like to pair program. My discord is Marco Polo#0892 if you want to pair with me

Yours sincerely,
Marco

2 Likes

Hey Wesley! Just DM’d you to find out more information about the issue your experiencing with signing onto Discord.

Hi everyone. I’m super new to codecademy and am looking forward to this journey. I am curious about the logistics of pair programming as we are all learning through the internet, right? So in order to pair program are people meeting in person through local chapters, or are people using some kind of technology like Zoom? I use a VR application called Immersed which has collaboration in a VR office. I don’t know if anyone else uses such a thing, if so I would love to virtually meet with someone in VR when I get to that stage of my fullstack path. Just an idea. Good luck to you all.

1 Like