Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

《深入设计模式》—— 外观模式 #14

Open
BUPTlhuanyu opened this issue Oct 18, 2021 · 0 comments
Open

《深入设计模式》—— 外观模式 #14

BUPTlhuanyu opened this issue Oct 18, 2021 · 0 comments

Comments

@BUPTlhuanyu
Copy link
Owner

外部与一个子系统的通信必须通过一个统一的外观对象进行,为子系统中的一组接口提供一个一致的界面,外观模式定义了一个高层接口,这个接口使得这一子系统更加容易使用。

这种模式非常简单,在提取公共逻辑代码的时候不知不觉的就用到了。但是缺乏一定的扩展性。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant