Pair Programming
Last updated
Last updated
Pair Programming Explained: watch video here.
Pair Programing is a practice of... you guessed it. Programming in pairs!
But there is a lot more.
Pair Programming is a way for you to work and discuss a challenge with your partner.
It's a chance for you to see your partners approach.
And a chance for you to articulate and share your approach with your partner.
It's also a great way to see if you really understand a programming concept.
There is no better way to see if you know a concept than to try teaching it to someone else.
More often than not by teaching others you push yourself to think of examples and analogies that help you formulate and solidify your mental model around a coding concept.
In the real world you will be working on teams.
So why not simulate that same environment when you're learning?
Our point is that it's a really useful practice that we have seen work for ourselves and our community members who broke in.
With Career Karma we created a way for everyone in our community in Peer Circles to do the same.
By becoming a member of a Career Karma Peer Circle, you now have access to signup for Pair Programing sessions so you can start learning in pairs.
Here is the overview of the process to begin Pair Programing:
Signup for a Pair Programing Session (you will see a link to a form 'Pinned' at the top of your chat)
Connect with your Pair and pick a date and time that works for both of you
Choose a challenge (ranging easy - medium - hard) that you and your partner will tackle
Pair Program (Here are detailed instructions on how to Pair Program)
Share your results; we encourage you to share screenshots, code snippets and feedback with your peer circles after you're done
Solutions (we created solutions to challenges that you can reference once you're done)
We recommend that before attempting to Pair Program you spend 5-10 hours familiarizing yourself with basic HTML, CSS or JavaScript fundamentals to get prepare.
To help you get started, once you're assigned a pair, we've put together challenges you can do through a shared coding editor.
We realize that in most cases you will be Pair Programming virtually so we designed an experience that can be done completely remote.
Here are the 3 sample challenges you can choose from:
Build HTML & CSS Page (Easy)
HTML & CSS Animations (Medium)
Basically, you'll be able to decide what problem your pair wants to tackle and you'll have access to the same workspace. (Run in your browser)
If you find these problems too easy or run out of challenges, we recommend you go on CodeWars and work on those problems. (You can still use CodeSandbox to have a shared editor)
Now here comes the fun part.
To begin pair programing, you need to start off by understanding the roles in each pair:
Driver
Navigator
The driver is one of the two roles in your pair who will be responsible for typing and writing the code.
Here is the catch.
The driver cannot just write code.
They are only allowed to write code dictated by the Navigator.
The Navigator cannot just get on the keyboard and type.
The Navigator is tasked with explaining their logic and approach to the driver so the driver knows what needs to be typed.
In the process of pair programming you will see that both parties will be discussing and brainstorming the best approach.
The key part in pair programming is that both programmers switch roles every 15-minutes.
This means your role will switch between driving and navigating.
You will learn how to work with others.
How your peers think.
How they approach different problem solving.
What they do to solve problems efficiently.
Our point is...
You will not just learn more about programming, but you will learn a lot about yourself and you will develop strong problem solving skills.
Here are three reasons we're excited:
You will get to use CodeSandbox which is a tool that will allow you to type your code in your browser and your partners screen will update with each key stroke. (And vise-versa)
This way you'll truly have a 'Virtual Pair Programming' environment and you'll be set-up to begin working in no time.
Your pair programing projects will seamlessly be stored on Github.
This means you can create a Github account and begin building your reputation as a software engineer.
Github is a place where most engineering teams store their code.
As you store your code it will also track your progress and activity.
As you practice and become a better developer, you're account gets more commits.
This will eventually help you stand out when you're applying for jobs in a few months from now!
(Here are the instructions on how to create a Github account if you don't already have one)
You will be learning, teaching and practicing coding challenges with a friend.
We know you might be paired with someone who know a little bit more or less than you.
That's Ok! A huge benefit of pairing is that you get to ask and answer each others question. Be sure to ask something if you are unsure
Download Zoom - while pair programming you will need to be able to see and hear each other. Zoom provides an easy interface to allow you to speak while using sandbox
Use this as an opportunity to see how someone else approaches their unique way of solving a problem.
At the end of the Pair Programing session we'll be asking each pair to post screen shots of the deliverable and feedback!
This will be a great way to build up your reputation in your peer circle & KARMA!
Proceed with warning...
Here are the solutions to the coding challenges:
Build HTML & CSS Page - Solution
HTML & CSS Animations - Solution
Javascript Intro toy problem - Solution
Remember to take a screenshot and share the url of your solution with your peer circle.
If you enjoyed the pair programming experience, we'd love to hear your feedback!