In Section 8.4.1, we used a Bridge pattern to decouple the implementation of the ARENA LeagueStore subsystem from its interface, enabling us to provide different implementations for the purpose of testing. Ideally, we would apply the Bridge pattern to each subsystem in our system design to facilitate testing. Unfortunately, this is not always possible. Give an example of a subsystem where the Bridge pattern cannot be used.

What will be an ideal response?


A Bridge pattern can be used in the case of a subsystem with a single Facade. Subsystems that offer a more complex
interface, for example a whitebox framework used for realizing a user interface, are difficult to encapsulate.

Computer Science & Information Technology

You might also like to view...

To indicate the passing of an array in a prototype or header function you must have:

A. data type variable name [ ]. B. variable name data type [ ]. C. *Parentheses ( ). D. No indication is necessary. The program intuitively knows what you are doing.

Computer Science & Information Technology

To move to a specific date, use features on the Home tab in the ____________________ group.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

____________________ is an online payment service, an alternative to a customer paying an online merchant by credit card.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

?A(n) ____ statement can include rules for site visitors, a statement of copyright in the site design and content, and can restrict the types of business a visitor can conduct with the site.

A. ?RFP B. ?TOS C. ?EFT D. ?V2W

Computer Science & Information Technology