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

精读《设计模式 - Strategy 策略模式》 #304

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

精读《设计模式 - Strategy 策略模式》 #304

ascoders opened this issue Mar 13, 2021 · 0 comments

Comments

@ascoders
Copy link
Owner

ascoders commented Mar 13, 2021

策略模式就是定义一系列可以相互替代的算法,这样这些算法就可以灵活拓展了。其实这个模式看上去并不是很有新意,也属于实现高耦合、低内聚的方案之一。


精读《设计模式 - Strategy 策略模式》

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