Collaboration
Why programs built by people with different viewpoints come out better, how teams share and review work, and the people skills that make a team work.
1What a computing innovation is
A computing innovation is a new thing that has a program as a necessary part of how it works. Take the program away and it stops doing its job. Computing innovations come in three kinds:
| Kind | Example | Where the program is |
|---|---|---|
| Physical | a self-driving car | software reads the sensors and steers |
| Nonphysical software | a photo editing app | the app is the program |
| Nonphysical concept | e-commerce (shopping online) | programs take orders, payments, and deliveries |
A printed bus timetable is not a computing innovation, even if a computer made it: no program is part of how the paper timetable works. The bus-tracking app that shows live arrival times is one.
2Why more perspectives help
A developer working alone sees the problem from one place: the code, the features they imagined, and the way they would use it. Everything outside that view is a blind spot. That is not carelessness; nobody can stand everywhere at once.
Effective collaboration produces an innovation that reflects the different talents and perspectives of the people who made it. Each collaborator sees something the others can’t. Collaboration that includes diverse perspectives (people with different backgrounds, needs, and experiences) also helps avoid bias: a design that works only for people like its builders.
Here is one app growing up. A team builds an alert that warns riders about bus delays, then shows it to three different people:
| Who looked at it | What they knew | What the team changed | The alert after |
|---|---|---|---|
| First version | (nobody else had looked yet) | Route 12 delayed. | |
| A daily rider | Riders need to know how late, not just that it is late. | Add the expected wait. | Route 12 delayed about 15 min. |
| A bus operator | A delay at one stop does not mean every stop is late. | Name the stop where the delay starts. | Route 12 delayed about 15 min from Elm St onward. |
| A rider with low vision | The alert was shown only as a red dot on the map. | Send it as text that a screen reader can read aloud. | Route 12 delayed about 15 min from Elm St onward. (read aloud) |
Nobody on the first team was wrong. They could not see what a rider, a bus operator, and a rider with low vision each knew right away. The final alert is better because 3 different people looked at it, and the improvement came from what each one knew, not from the number of people on the team.
3Listening to users
The people who will use a program are one of the best sources of perspectives. Consulting and communicating with users is an important part of building a computing innovation: ask what they need, watch them use an early version, and listen to what goes wrong. Information gathered from potential users helps the team understand the program’s purpose from several points of view and build a program that includes all of them.
For example, a school planner app built by students who only take morning classes might assume every schedule is the same each day. Talking to student athletes reveals that practice times change several times a week, so the team adds quick schedule edits and a warning when two events overlap.
Collaboration improves a computing innovation because each person brings information the others lack. A good explanation names the perspective, the information it supplied, and the decision it changed. Diverse perspectives, including users’, help avoid bias.
4How groups build together
Online tools support collaboration by letting programmers share ideas and documents and give feedback on them. A shared document, a code-sharing site, or a comment thread all do these two jobs. The brand of tool never matters; what matters is what it lets the team do.
- Share: everyone works from the same plan, design, or code, instead of four private copies drifting apart.
- Give feedback: a comment attached to one line or one idea points the author to the spot that needs fixing, and the version history shows what changed in response and lets the team undo a mistake.
Teams also use collaboration models, agreed ways of working together. The best known is pair programming: two programmers share one task. The driver types the code; the navigator reviews each line as it is written, thinks ahead, and spots mistakes. They switch roles often. Two people catch errors that one would miss, and both understand the code when they are done.
Splitting a project into parts that each person builds alone, with no sharing or review, is the least collaborative way to work. It throws away the main benefit: combining perspectives.
5People skills
Effective teams practice interpersonal skills (skills for working with people). Four matter most:
| Skill | What it means | What it sounds like |
|---|---|---|
| Communication | Sharing information so others understand it, and listening well enough to ask for what is missing. | “When the name box is blank and I press Submit, the app freezes” instead of “it’s broken.” |
| Consensus building | Helping the group agree on one direction that everyone understands and will commit to. | The team compares three feature ideas against the app’s purpose and all agree to build the timer first. |
| Conflict resolution | Working through a disagreement so that the work can continue. | Two teammates who both want to rewrite the menu talk it through and settle on one version. |
| Negotiation | Reaching a fair trade, where each side gives something and gets something. | “I’ll fix the crash today if we add your login screen tomorrow.” |
Each one changes the project: a vague complaint becomes a bug someone can fix, three competing ideas become one plan, a clash stops blocking the work, and a stalemate becomes a trade. A team of strong coders without these skills can still end up with three half-built versions of the same feature.
6Worked examples
The cafeteria menu app
A team builds an app that shows the school lunch menu. They invite feedback from a student with a peanut allergy. Explain how this collaboration could improve the app.
- 1Perspective: a student who has to avoid peanuts.
- 2Information: the menu lists dish names but not ingredients, so she can’t tell which dishes are safe.
- 3Decision: the team adds an allergen label to every dish and a filter that hides dishes with peanuts.
Most collaborative
A team of four is building a quiz game. Which plan makes best use of collaboration? (a) Each person builds one screen alone and they combine the screens the night before it is due. (b) They keep one shared design document, review each other’s code weekly, and test the game with classmates. (c) The strongest programmer writes everything while the others watch.
- 1(a) splits the work so members never see each other’s parts until the end.
- 2(c) uses only one person’s perspective.
- 3(b) shares the work, gives feedback, and brings in users’ views.
Which people skill?
Name the interpersonal skill. (a) Two teammates disagree about whether the game needs sound; they talk it through and settle on sound that can be switched off. (b) Jordan says, “I’ll test your level if you review my scoring code.” (c) After comparing three ideas against the purpose of the app, the whole team agrees to build the timer first.
- 1(a) A disagreement is worked through so work can continue: conflict resolution.
- 2(b) Each side gives and gets something: negotiation.
- 3(c) The group commits to one direction: consensus building.
Pair programming
Sam and Luis are pair programming. Describe what each does and one way it improves their program.
- 1One is the driver, who types the code.
- 2The other is the navigator, who reads each line as it is written, looks for mistakes, and thinks about what comes next. They swap roles regularly.
- 3Because a second person reviews every line, errors such as a wrong condition are caught as they are typed.
7Common mistakes
Speed is not the point. The benefit is combining different perspectives so the innovation has fewer blind spots and less bias.
Four people each building a part alone, never reviewing each other’s work, is the least collaborative choice.
“They used a shared document” says nothing. Say what it let them do: share one plan and give feedback that changed the work.
“A user tested it” is not an improvement until you say what the team changed because of what the user knew.
“The team asked riders with low vision to try the delay alert. They pointed out that the red dot on the map was invisible to them, so the team sent every alert as text that a screen reader can read. Their perspective revealed a need the original team had missed.”
Name the perspective, the information it supplied, and the change it caused.