Structural Design Patterns Flashcards

1
Q

Adapter

A

Adapter is a structural design pattern that allows objects with incompatible interfaces to collaborate.

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

Bridge

A

Bridge is a structural design pattern that lets you split a large class or a set of closely related classes into two separate hierarchies—abstraction and implementation—which can be developed independently of each other.

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

Composite

A

Composite is a structural design pattern that lets you compose objects into tree structures and then work with these structures as if they were individual objects.

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

Decorator

A

Decorator is a structural design pattern that lets you attach new behaviors to objects by placing these objects inside special wrapper objects that contain the behaviors.

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

Facade

A

Facade is a structural design pattern that provides a simplified interface to a library, a framework, or any other complex set of classes.

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

Flyweight

A

Flyweight is a structural design pattern that lets you fit more objects into the available amount of RAM by sharing common parts of state between multiple objects instead of keeping all of the data in each object.

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

Proxy

A

Proxy is a structural design pattern that lets you provide a substitute or placeholder for another object. A proxy controls access to the original object, allowing you to perform something either before or after the request gets through to the original object.

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