Who should be responsible when an expert violates high cohesion and low coupling ?
Answers
Answered by
2
Answer:
The creation of objects is one of the most common activities in an object - oriented system. Consequently, it is useful to have a general principle for the assignment of creation responsibilities. Assigned well, the design can support low coupling, increased clarity, encapsulation, and reusability.
ʘᴗʘ
Answered by
0
Pure fabrication
Pure fabrication should be responsible when an expert violates high cohesion and low coupling.
- A pure fabrication is a class created specifically to achieve low coupling, high cohesion, and the reuse potential thereof and does not represent a notion in the issue domain (when a solution presented by the information expert pattern does not).
- Support for reduced coupling implies less maintenance requirements and more potential for reuse.
- The object-oriented design grip approach's low coupling principle encourages code reuse, as follows: It makes maintaining things simpler. By doing this, the effect of modifying one object on other things is lessened.
- The object-oriented design grip approach's low coupling principle encourages code reuse, as follows: It makes maintaining things simpler. By doing this, the effect of modifying one object on other things is lessened.
- High cohesion is a term used in software engineering to describe how closely all the classes' or routines' code supports a main objective. High cohesion classes are those that have features that are closely related to one another; the heuristic goal is to maximise cohesiveness.
#SPJ2
Similar questions
India Languages,
21 days ago
Physics,
21 days ago
Math,
1 month ago
Science,
1 month ago
Math,
9 months ago
Computer Science,
9 months ago
English,
9 months ago