7

设计模式系列文章

 3 years ago
source link: https://blog.ixk.me/post/design-pattern-series-articles
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

设计模式系列文章

2021-05-14 • Otstar Lin •

设计模式相关的文章由于篇幅较短,所以就写在了 Time-log 中了。前几天面试的时候遇到了,一紧张就好多都没记起来 😂,现在转头一想其实好多都是有应用到项目里的,没答出来属实遗憾 2333,比如拦截器就用了责任链模式,Request 用了组合模式,还有 Aop 的代理模式,Http 解析器用了状态模式,以及随处可见的迭代器模式。

文章内都配有简单的实现代码,可以参考着进行学习。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK