CSE 110 Lecture Notes - Lecture 14: Adapter Pattern

44 views1 pages

Document Summary

To strive for, but there may be exceptions) Factory method pattern class to instantiate. fmp lets a class defer instantiation to subclasses. High level components should not depend on low level components! 1. no variable should hold a reference to a concrete class. 2. no class should derive from a concrete class. 3. no method should override an implemented method of any of its base classes. Synchronizing can decrease performance by a factor of 100! Tight coupling (all dependent on these variables!) Having many global variables and methods that all change these global variables.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents