We encourage pair programming between all levels of experience. Nobody is required to pair program for a certain amount of time, but it is a great tool to help solve complex problems quickly and more efficiently with an extra set of eyes.
Code that is written by two people who sit next to each other at the same computer is pair-programmed code. The best way to pair program is to just sit side by side in front of the monitor. Slide the key board and mouse back and forth. Both programmers concentrate on the code being written. The programmers undertake one of two parts — the Driver and the navigator. The driver in the process is responsible for diligently drafting code, while the navigator’s job is to review and concentrates on the plan of action.
That code is considered high quality and should result in cost savings due to less maintenance. The matter of fact is, pair programming technique can take around 15% longer, yet produces 15% lesser defects. In the long run, this style of development saves money because fewer bugs are written and therefore do not need to be fixed later.
Generally we use it for complex pull requests review and coaching and fixing
The driver and the reviewer should constantly interact with each other as it will add to the knowledge and efficiency for both the members.
Communication is what that makes all the difference.
For an idea to go from your head to the computer it must go through someone else’s hands.
Whenever the driver requires pitching in the idea, he must handover the system to his partner and then carryout the control from the observer position
That’s possibly because the person in charge of typing isn’t communicating, or perhaps the reviewer doesn’t want to bother him. Many times I’ve observed where the driver put forth ‘just a minute, I’ve got an idea’ and keep on working, the navigator check their social accounts or do some other irrelevant tasks.
Paired programmers are only 15% slower than two independent individual programmers, but produce 15% less mistakes
Around 96% of the pair programmers reported in an online survey that they enjoyed their work in a pair programming environment than working alone.
Establishing a senior-junior combo might be a great step to refine the junior’s skills and proficiency.
Some notes that we should consider applying
Drop us a message if you need any helps from the DwarvesLet's build