...4 Cohesion 内聚 Cohesion 内聚: •内聚指的是趋向单一专业类别的设计,物 件导向(Object Oriented)追求高内聚力(high cohesion),也就是尽量分门别类地设计专业 功能的类别,不要尝詴使用单一类别包山 包海。
基于1个网页-相关网页
高内聚力
High cohesion
以上为机器翻译结果,长、整句建议使用 人工翻译 。
好习惯:利用高内聚力。
Good habit: Embrace high cohesion.
youdao
具有高内聚力的设计将提供降低耦合的机会。
Designs with high cohesion offer the opportunity for lower coupling.
高内聚力指将相互关联的类和方法分组在一起。
High cohesion means that classes and methods that are related to each other are grouped.
应用推荐
模块上移
模块下移
不移动