Introduction to OOP
Chapter 21: Software Frameworks :
Types of Reuse
We can reuse the
of a merge sort, but cannot reuse the binary without modifications to the original source code.
Might want to sort on salary, instead of starting year
Might want to do comparisons of string (e.g., name), not integers
Might want to sort a different type of structure
To create an object-oriented software framework, we must first ask ourselves
what are the likely sources of change?
, Slide 08