You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
539 B
10 lines
539 B
2 years ago
|
|
||
|
Exercise 2.76: As a large system with generic
|
||
|
operations evolves, new types of data objects or new operations may be needed.
|
||
|
For each of the three strategies—generic operations with explicit dispatch,
|
||
|
data-directed style, and message-passing-style—describe the changes that
|
||
|
must be made to a system in order to add new types or new operations. Which
|
||
|
organization would be most appropriate for a system in which new types must
|
||
|
often be added? Which would be most appropriate for a system in which new
|
||
|
operations must often be added?
|