21.08.2013 Views

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

Software Engineering for Students A Programming Approach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER<br />

20 Groups<br />

This chapter explains:<br />

■ how to use structured walkthroughs<br />

■ how to use inspections<br />

■ how to carry out pair programming.<br />

20.1 ● Introduction<br />

This chapter is about collaborative ways of working – both in<strong>for</strong>mal and semi-<strong>for</strong>mal.<br />

We look at structured walkthroughs, inspections and pair programming. These aim to<br />

improve software productivity and quality, and perhaps also enhance the enjoyment of<br />

programming.<br />

20.2 ● The individual and the error<br />

Programmers are often seen as loners. Given a clear specification, a programmer often<br />

carries out the complete process of program design, coding and testing entirely on their<br />

own. Programmers are seen as low-profile technicians in contrast to the articulate extrovert<br />

systems analysts. Thus a program is sometimes seen as a personal work of art, the<br />

creation of an individual programmer. These attitudes deny that “two heads are better<br />

than one”, that through discussion with others we can produce better work.<br />

The common experience that someone else can spot errors better than the author<br />

lead to the invention of the structured walkthrough. Credit <strong>for</strong> its invention belongs to<br />

G. Weinberg, in his book The Psychology of Computer <strong>Programming</strong>. Weinberg suggested<br />

that programmers see their programs as an extension of themselves. He suggested<br />

that we get very involved with our own creations and tend to regard them as manifestations<br />

of our own thoughts. We are unable to see mistakes in our own programs, since to<br />

do so would be to find a fault in ourselves, and this, apparently, is unacceptable to us.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!