ITeye博客

Information Expert

skysun · 2009-11-12 11:01 · DesignPattern · Markdown

Information Expert

The Information Expert pattern is a solution to the problem of determining which object should assume a particular responsibility. During design, we make choices about the assignment of responsibilities to classes. Information Expert helps us decide, once we know the task (responsibility), which class to make responsible for carrying out the task. Information Expert says: Assign a responsibility to the information expert; the class that has the information necessary to fulfill the responsibility.You need to consider how using Information Expert affects coupling and cohesion to determine if the pattern is a good choice.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。