编程心法 之 内聚度和耦合度是什么

内聚度 Cohesion
耦合度 Coupling

"Coupling" describes the relationships between modules, and "cohesion" describes the relationships within them.

  • 耦合性(Coupling),也叫耦合度,是对模块间关联程度的度量

  • 内聚度(Cohesion),一个模块内部各成分彼此结合的紧密程度

参考

参考


想要看到更多玮哥的学习笔记、考试复习资料、面试准备资料?想要看到IBM工作时期的技术积累和国外初创公司的经验总结?

敬请关注:

玮哥的博客 —— CSDN的传送门

玮哥的博客 —— 简书的传送门

玮哥的博客 —— 博客园的传送门

posted @ 2019-03-10 01:15  vigorpush  阅读(939)  评论(0编辑  收藏  举报