Software
"reuse" is the process of using components of an
existing program and making it part of a new program. Reuse is a promising
"design" methodology because complex systems develop faster if they can be build
on stable subsystems
[Simon, 1996]. Reuse supports
"evolution" [Dawkins, 1987]. Design for reuse and
"redesign" is a promising methodology for
keeping software "soft" and preventing it from becoming obsolete with age. In
systems that take into account reuse and redesign as primary activities,
incremental improvements will be cheap enough that software designers and
engineers can experiment with alternative implementations, thereby gaining
experience and insight leading to better designs.
The problem is that the current reuse of software components
is not considered as a core activity in developing software but only as a
secondary activity. In most of existing CASE environments, including
object-oriented programming environments, much effort goes into supporting the
creation of objects; they do not support development processes from a
"reuse and evolution" point of view. The reuse process involves two steps: (1)
composing new systems from existing components, and (2) developing components
that can be reused in future systems. Let us now look at issues for each of the
two steps.
(1) Use: lack of support for reusing objects, such as
locating, comprehending, and modifying reusable objects
As described above, the use of reusable objects may suffer
from the problem of information overload; developers may not know what reusable
components exist, how to access them, how to understand them; and/or how to
combine, adapt, and modify them to meet current needs [Fischer, 1987a]. Issues
exist for each phase of the location-comprehension-modification cycle of
information usage process that is depicted in ???. First, locating reusable
components in a large reusable component library can be challenging, even when
the user is familiar with much of the existing components. Lange and Moher
[Lange & Moher, 1989] performed an intensive one-week field study of a
professional software engineer with considerable experience in object-oriented
development. The engineer was very familiar with the class library and
consequently was often able to recall the name of a particular class a priori
and locate it in the hierarchy easily. However, even when the engineer could
name a class a priori, she did not often remember method names, leading to a
more ad-hoc search within classes for reusable methods.
Second, users are reluctant to invest the time to thoroughly
understand components once they are located. Lange and Moher's study also
observed "comprehension avoidance" strategies in which the engineer tried to
avoid getting into the details of methods, and instead tried to modify and test
methods to assess their reusability for her task. And third, as components are
reused, they are often modified (redesigned), that leads to further component
evolution. Many types of modification are not easily supported in existing
object-oriented environments.
(2) Produce: lack of support for developing objects to be
reusable and identifying whether developed objects are abstract and suitable to
be stored in a class library
To give reuse a chance to succeed classes must be designed
for reuse and offer guidelines to promote reusability; but none of the popular
object-oriented methods emphasizes this point. Reuse is not something "tacked
on" at the end of software development; it must be integrated throughout the
evolutionary development process [Fischer & Girgensohn, 1990].
Reuse and redesign without adequate support tools do not
reach their potential as the most promising design methodology. Reuse requires
an appropriate representation of software objects. The location and
comprehension steps require that the system "indexes and understands" software
objects not only on the implementation level but also in relation to application
goals.