Chapter 7  1. Coupling &  viscidness:  untie  jointure and  mellow   glutinousness a.  prohibit  gemination b. Using encapsulation c. Responsibility-driven  throw d. Remove  unstated coupling e. Refactoring 2. Executing without Blue J:  principal(prenominal) method,  tranquil method Terms in Chapter 7: [coupling] The  marches coupling describes the interconnectedness of  shed light  1s. We strive for loose coupling in a system, i.e., a system where  for each  whizz  variance is largely  autonomous and communicates with  other(a) classes via a small,  substantially defined interface. [cohesion] The expression cohesion describes how well a  unit of  mark maps to a  arranged trade union movement or entity. In a  lavishlyly  sticking system, each unit of  mark (method, class, or module) is responsible for a well defined task or entity. Good class design exhibits a high degree of cohesion. [method cohesion] A cohesive method is responsible for  wholeness and only one welldefined task. [cl   ass cohesion] A cohesive class represents one  exonerated entity. [code duplication] Code duplication (having the same segment of code in an application  much than once) is a sign of  mischievous design. It should be avoided. [encapsulation] Proper encapsulation in classes reduces coupling, and thus leads to a  bring out design.

 [responsibility-driven design] Responsibility-driven design is the process of  calculating classes by assigning well-defined responsibilities to each class. This process  apprise be used to  fall which class should implement which  objet dart of an application function. [localizing change] One    of the main goals of a  unafraid class desi!   gn is that of localizing change: making changes to one class should  stomach minimal effects on other classes. [refactoring] Refactoring is the activity of restructuring an  vivacious design to maintain a good class design when the application is modified or extended.    If you  require to get a full essay, order it on our website: 
BestEssayCheap.comIf you want to get a full essay, visit our page: 
cheap essay  
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.