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

推荐订阅源

IT之家
IT之家
H
Help Net Security
GbyAI
GbyAI
博客园_首页
G
Google Developers Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
月光博客
月光博客
美团技术团队
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 叶小钗
有赞技术团队
有赞技术团队
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
P
Proofpoint News Feed

博客园 - 不再专注于.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)    收藏  举报