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

精读《设计模式 - State 状态模式》 #303

Closed
ascoders opened this issue Mar 6, 2021 · 0 comments
Closed

精读《设计模式 - State 状态模式》 #303

ascoders opened this issue Mar 6, 2021 · 0 comments

Comments

@ascoders
Copy link
Owner

ascoders commented Mar 6, 2021

状态模式,其实就是通过显示区分状态的方式,代替 if else 分支逻辑处理管理差异。


精读《设计模式 - State 状态模式》

@ascoders ascoders closed this as completed Mar 8, 2021
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