惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

博客园 - 不再专注于.net技术

嵌入式c/C++ 多线程专题3 - 不再专注于.net技术 - 博客园 多线程调度专题2 - 不再专注于.net技术 - 博客园 多线程同步问题专题(1) TCP/IP卷一(4) TCP/IP卷一(3) TCP/IP卷一(2) TCP/IP卷一(1) Net Programming 设备坐标 删除内存树结构的时候,千万注意内存泄漏问题,采用递归比较简单。 投资收益 The Strategy Pattern Com+ ?? debian linux 树结构的遍历与建立树 初始化COM GNU Debian Linux学习 vc调用vb DLL方法
Learning Bridge pattern.
不再专注于.net技术 · 2006-01-19 · via 博客园 - 不再专注于.net技术

Don't overuse the inheriance:
Because misunderstanding of inheriance to solveing all the problems.
in fact it's naive:
     given this new “hammer,” everything seems like a nail.

Considier the Bridge pattern:
1.Would you say things have high cohesion or low cohesion?
2.Are things tightly or loosely coupled?
3.Would you want to have to maintain this code?

posted on 2006-01-19 15:36  不再专注于.net技术  阅读(190)  评论(0)    收藏  举报