As we mentioned above, software engineering has historically
adhered to first-generation
"design" principles. Software engineering research had
been concerned with the transition from specification to
"implementation"
("downstream activities
") rather than with the problem of
how faithfully specifications really address the problems to be solved
("upstream activities
")
[Belady, 1985] (see
Figure 14-1).
Many methodologies and technologies were developed to prevent
implementation disasters [Sheil, 1983] by
producing correct programs with respect to a given specification. The progress
made to successfully reduce implementation disasters, such as structured
programming and information hiding, allowed an equally relevant problem to
surface: how to prevent
design disasters [Lee, 1992].
Design
disasters mean that a correct implementation with
respect to a given specification is of little value if the specification does
not adequately address the problem to be solved.
Table 14-1
summarizes comparisons between two paradigms, each of which focus upstream and
downstream activities, respectively. The new paradigm of paying more attention
on upstream activities is not a rejection of more formal-based approaches and
methods, but a shift of the primary point of view. Doubtless, we still need
correct and efficient programs. But what is the value of these programs "if they
are not relevant, suitable, and adequate to the user in the use situation"
(
[Ehn, 1989])
?
Table 14-1: Comparison between Upstream and Downstream Activities
|
Upstream
|
Downstream
|
|
type of problem
|
"ill-defined problems"
|
well-defined problems
|
|
"breakdowns"
|
design disasters (we solve the wrong problem)
|
implementation disasters (wrong solution to the "right"
problem)
|
|
focus
|
embedding in larger "context", user experience
|
computational mechanisms
|
|
primary source of knowledge
|
domain workers
|
software designers
|
|
support environments
|
"domain-oriented "design environments" (DODEs)"
|
knowledge-based software assistants, programming
environments
|
|
interaction paradigm
|
languages of doing:
prototypes, scenarios, mock-ups, conceptual models of
users
|
(formal) specifications
|
|
"externalization"
|
(semi-formal) objects-to-think-with
understood by all "stakeholders"
|
computationally interpretable objects
|
|
criteria to judge solutions
|
adequate, understandable, enjoyable
|
correct, robust, reliable,
meets functional specifications
|
|
"evolution"
|
participating design, use situations
|
debugging, verification, validation
|
In order to review issues and problems software engineering
has been coping with, let us look back historical development of design
methodologies in software engineering, which closely parallel the three
"generations" of architectural design discussed in Section ???.
First Generation: Waterfall Model. First generation
software engineering approaches focus on the technical aspects of building a
system once the requirements are well known and formulated in a precise manner.
The prime example of a first generation software engineering approach is the
waterfall model [??waterfall model ??]. The model
consists of three phases (see
Figure 14-2):
- Requirements analysis: a requirement statement is produced by users,
or by representatives of users, which describes what the new system should
do.
- Specification design: a specification, which is to be produced by
developers, is a plan describing how to implement the system so that it meets
the requirements.
- System implementation: a new system is built by
developers that instantiates the specification.
In the waterfall model, analysis and design constitute
upstream activities.
The goal of the requirements analysis
phase is to produce a document that describes the functionality that a system
should have. Requirements analysis, domain modeling
and
knowledge acquisition
are all approaches that assume that
it is possible to precisely and completely document the application domain
knowledge necessary to build a software system. While knowledge acquisition
originated within the field of artificial intelligence and requirements analysis
is from traditional software engineering, these two approaches have become
essentially the same as artificial intelligence techniques are incorporated in
conventional systems practice. The domain modeling approach assumes that there
exists a common conceptual model of the domain shared by all stakeholders and
the problem is simply to identify what this model is and codify it
[Prieto-Diaz & Arango, 1991].
Although there is growing evidence that system requirements
are not so much analytically specified as they are collaboratively evolved
through an iterative process of consultation between users and software
developers
[Computer Science and Technology Board, 1990], many first
generation development efforts do not take this into account. As a result, these
efforts suffer from the thin spread of application
knowledge
and fluctuating
requirements
.
Users can know their requirements only vaguely at best
because system development is an ill-defined design task, in which the problem
cannot be understood before attempts at solving it are made (see Section ???).
New requirements emerge during development because they cannot be identified
until portions of the system have been designed or implemented (see Section
???). Because much of the user's knowledge is tacit
,
"only a small and perhaps insignificant part of design knowledge can be
expressed in verbal descriptions"
[Ehn, 1989]. The assumption that users
can state their requirements or knowledge explicitly creates a blindness to what
cannot be stated explicitly, and underutilizes their knowledge (see Section
????).
Following the requirements analysis phase is the
specification design phase. The specifications
are
assumed to contain all the application domain knowledge necessary to implement
the system so that contact with users is not necessary.
The main objective of formal specifications is that they are
"formal," which means that they are manipulable by mathematics and logic and
interpretable by computers. The danger of formal specifications is that when
users' requirements are formalized by developers during the system analysis
phase, information is unavoidably lost
[Winograd & Flores, 1986].
Specification errors often occur when developers do not have sufficient
application knowledge to interpret the users' intentions from the
requirements—a breakdown caused by the thin spread of application
knowledge (see Section ????).
Even though this first generation
perspective of software design does not describe the way software is actually
designed and built
[Curtis, Krasner & Iscoe, 1988], it is favored by management
because it gives the illusion of an orderly and measurable process. First
generation design methods have proven successful in large-scale software
engineering efforts within well-understood application domains. However, they
are not adequate for domains in which users do not know what they want until
they see it
[Boehm, 1988]. The problem with rational analysis is that it
does say what should be analyzed
[Gould & Lewis, 1985]. In application
domains that are removed from the experiences of software developers, the
knowledge and judgment of users must be taken into account.
Second Generation: "Participatory Design". Second
generation software design methods attempt to improve the requirements process
by involving users. These methods are based on the idea that "barriers between
technical specialists and people using computer applications need to be broken
down in order to build effective communication during the design process"
[Greenbaum, 1993]. The process of collaboration between developers and
users is emphasized, and specifications are a by-product of this process
[Denning & Dargan, 1994].
Early second generation projects attempted to involve users
in system design, but ran into problems because the traditional software
engineering practice did not acknowledge that users had different styles of
expressing knowledge from those used by developers
[Greenbaum & Kyng, 1991]. An example of such an early attempt at involving users is the Joint
Application Design approach (JAD)
[Carmel, Whitaker & George, 1993]. JAD
was developed in industry as a way to improve the requirements analysis process
in system development. JAD consists of highly structured meetings in which
users, or representatives of the users, are involved
[Carmel, Whitaker & George, 1993]. While JAD involves users in design meetings, it does not acknowledge
that meetings may not be the most effective arena for users to articulate their
knowledge.
What is now commonly referred to as
participatory
design [Schuler & Namioka, 1993] originated in
Scandinavia. The Scandinavian projects focused on the skills of workers (i.e.,
users) and acknowledged that this skill had a large non-verbal component. These
projects were sensitive to the issue of dehumanization when technologists made
decisions that affected the worker's tools and practices, and made this the
central focus of design and use of computer systems
[Greenbaum & Kyng, 1991]. In the USA the movement has taken several directions, including product
quality and knowledge acquisition
[Muller & Kuhn, 1993].
Third Generation: Work-Oriented. Following the
recognition of problems in second generation design methods is the third
generation
, where developers make expert conjectures that
are open to refutation and refinement, with the aim of exploiting the skills and
knowledge of all stakeholders. The next section details third generation
approaches in software
engineering.