A mob programming session is conducted when a software development team (usually three to six people) get everyone together to discuss something big, get feedback, or find a solution. In short, the group writes and owns all the code together.
A mob programming session is conducted when a software development team (usually three to six people) get everyone together to discuss something big, get feedback, or find a solution. In short, the group writes and owns all the code together.
But how often should a team use mob programming? Well, there's no definite answer as it all depends on the individual team. One team may decide to have regular mob programming weekly or even daily, whereas another team may only have it once a month when required.
More benefits of mob programming include:
However, mob programming also has some disadvantages...
With the entire team working on the same thing, at the same time, they become more productive as they learn together and better quality code is produced as a result.
There are two key roles on a mob programming team: the drivers and navigators. There is only one driver at any given time, and the rest of the team are navigators. The driver types the code and the navigator analyses, discusses and makes suggestions to improve the code. The navigator leads the discussion and may ask questions like “What should the code be here?” or suggest changes to variable names or patterns that could be inputted. The driver sits at the keyboard and applies the team's instructions.
Typically, the driver rotates every 15 or 30 minutes to give everyone an equal chance to drive and navigate. For example, on a mob programming team of four that does 10-minute rotations, you’ll have 10 minutes being the driver, with 30 minutes in between to be a navigator or group participant.
It hopefully isn’t a surprise at this point, but mob programming is naturally social — and being social in a mob setting requires practice (and patience)!
To ensure the session runs smoothly, you have to make sure there is good communication between navigators and drivers.
Without solid coordination, it might become hard for a driver to understand the navigators' instructions while maintaining their keystrokes and implementing the instructions in the codebase.
Some individuals can be messy, complicated, and hard to work with, or you might have clashing working styles. But the only way for the mob to succeed is through communication and collaboration, so you need to ensure everyone has a voice for it to thrive.
A successful session will also include taking regular short breaks, setting the rules and target of each mob session, keeping track of each session to analyse and treat each team member with kindness and respect.
Additionally, working for extended periods without breaks can contribute to burnout, a state of emotional, physical, and mental exhaustion. Taking breaks, however, will help prevent burnout by giving team members time to relax and alleviate stress.
Mob programming is all about the whole team working together in one space, but in order for this to be effective, you must be in a suitable working environment.
The most important consideration for your dedicated mobbing station is: Can everyone comfortably see what’s happening?
Tramshed tech offers the perfect mob programming rooms. Get in touch to learn more.
Most mobbing stations feature a large TV or projector connected to the computer, rather than a monitor as three or four people huddling around a cubicle get uncomfortable fast.
The space must be clean and big enough to fit the whole team (and space to move about). There also must be a big or dual screen located in the room for all team members to see, as well as a strong, reliable network connection.
Discover more mob programming tips here.
Here at Tramshed Tech, we offer the ideal collaborative working space for mob programming. Tramshed Tech is home to 50+ companies ranging from pre-revenue start-ups to scaling businesses with 600+ registered members from the digital, creative and tech communities.
We’re currently based in Grangetown, Barry & Newport, soon to expand to other sites across South Wales to include Central Cardiff and Swansea.
Get in touch to enquire about our coworking spaces here at Tramshed Tech.
Written by Kate, for Tramshed Tech.
Published on 15/06/2022
Updated on 21/02/2024