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

设计模式:装饰器模式 #67

Open
shinena opened this issue Mar 29, 2023 · 0 comments
Open

设计模式:装饰器模式 #67

shinena opened this issue Mar 29, 2023 · 0 comments

Comments

@shinena
Copy link
Owner

shinena commented Mar 29, 2023

装饰器模式:动态的将责任附加到对象上。想要扩展功能,装饰者提供有别于继承到另一个选择。
对扩展开放,对修改关闭。

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