158 .225 Study Guide - Final Guide: Loose Coupling, Object Model, State Pattern

1534 views8 pages
20 Jan 2017
Department
Course
Professor

Document Summary

We want to be able to reuse as many things as possible. Heuristic allowing a person to discover or learn something for themselves. Responsibility for persistence is a large-grained responsibility eg. user. Patterns provide a vocabulary of design such as: state, straegy, fa ade. Something that knows a lot about certain things. Assign a responsibility to the object that has the information necessary. A god object lacks cohesion and has too many responsibilities. What object in the domain receives requests for work from the ui layer. Choose a class whose name suggests the overall system , or represents the use case scenario. Coupling describes the degree of togetherness, and is reflected by the number of links. To create reusable components that are resilient to change. A measure of how strongly related and focused the responsibilities of a class are. Low cohesion do too many unrelated things (undesirable).

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents