Select your localized edition:

Close ×

More Ways to Connect

Discover one of our 28 local entrepreneurial communities »

Be the first to know as we launch in new countries and markets around the globe.

Interested in bringing MIT Technology Review to your local market?

MIT Technology ReviewMIT Technology Review - logo

 

Unsupported browser: Your browser does not meet modern web standards. See how it scores »

Mansour Raad had a big problem. His start-up firm, DiscoverCast, was developing collision-detection software for the airline industry-mistakes in the code could cost lives. But money dried up after a first round of funding, and hiring additional programmers to finish a bug-proof version was out of the question.

So Raad instigated a relatively new coding discipline called extreme programming. Instead of working alone on individual assignments, programmers paired off, one writing code while the other watched and critiqued-providing both a critical eye and critically important backup. “[My wife] had a baby, but the project had to go on,” says Raad. “Because I was showing it to the other people, someone could step into my shoes.” The company met deadlines without an increase in errors because of the communication.

Most programmers are no more satisfied with software quality than their customers. Now a growing number are trying to find ways to create solid software in a market that expects new products and enhancements and wants them fast. Increasingly, software companies are turning to development strategies with names like “agile development” and “extreme programming”-adrenaline-charged catchphrases well-suited to coders’ self-image as rugged heroes of the information age. In reality, the trend-which has a long history-signals a rejection of prima donna programming in favor of teamwork and collaboration.

In the software industry, buggy code has long been accepted as a fact of life-albeit an aggravating and expensive one (see “Why Software Is So Bad,” TR July/August 2002). “The problem is that in software, people place too much trust in their own ingenuity,” says Michael Stiefel, a consultant who trains clients in software reliability methods. “I’d watch all these young guys in their 20s making the same mistakes we made in the 70s and 80s, and I wonder why we have to go through all this again.”

To reduce errors, reformers are touting approaches to software engineering-known in the industry as “agile development”-that stress teamwork, collaboration with end users, and a flexible approach to change. To build its collision-avoidance software, Raad’s company used one type of agile development, called “extreme programming,” which emphasizes constant testing as well as collaboration.

“If you are able to apply [a collaborative environment] at its full power, the quality of the products will be better,” says Michele Marchesi, a leading advocate of extreme programming and professor of electrical engineering at the University of Cagliari in Italy.

One of the most powerful aspects of agile programming is so-called peer programming, in which developers partner and take turns writing code and explaining its logic to the other. Pairs are temporary, periodically splitting and swapping to encourage even more interaction. New eyes examine each piece of code, creating a process of continuous review.

“Two people can bounce ideas off each other,” says Frank Arkell, a chief software engineer at defense contractor General Dynamics Decision Systems, which has used collaborative techniques for two decades. To keep teams fresh, General Dynamics changes them for every project.

Another advantage to peer programming? Peer pressure. “No one wants to be the person that slacks off, so they both work harder,” says Scott W. Ambler, president of Ronin International and an author and speaker on agile development.

0 comments about this story. Start the discussion »

Tagged: Communications

Reprints and Permissions | Send feedback to the editor

From the Archives

Close

Introducing MIT Technology Review Insider.

Already a Magazine subscriber?

You're automatically an Insider. It's easy to activate or upgrade your account.

Activate Your Account

Become an Insider

It's the new way to subscribe. Get even more of the tech news, research, and discoveries you crave.

Sign Up

Learn More

Find out why MIT Technology Review Insider is for you and explore your options.

Show Me
×

A Place of Inspiration

Understand the technologies that are changing business and driving the new global economy.

September 23-25, 2014
Register »