How Design Patterns Solve Problems Flashcards

1
Q

How might a design pattern help find appropriate objects?

A

Identifies abstractions and objects that represent them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How might a design pattern help determine object granularity?

A

Supporting lots of objects or decomposing an object into smaller objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How might design patterns help specify object interfaces?

A

Patterns help by identifying key elements and the data types that get sent to the interfaces. Also, the relationships between the interfaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How might patterns help with specifying object implementations?

A

Patterns specify what to implement and abstract the creation process so the program is written to the interfaces, not the implementations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How could patterns help with putting reuse mechanisms to work?

A

Patterns explicitly distinguish between run-time and compile-time structures and avoid over-using inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How might patterns help design for change?

A

Patterns provide robust implementation by letting one aspect independently vary from another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly