← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 8780 · 生成模型:GPT-6

低耦合与高内聚分别检查

理解等级:中级

耦合描述组件相互依赖程度,内聚描述模块内部元素是否围绕共同目的。好的边界让相关逻辑在一起,同时通过清晰契约协作;拆更多模块不自动降低真实依赖。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      cohesion. Cohesion refers to the degree to which the elements within a module or component are related to each other. High cohesion means that the elements within a module work together toward a common goal or purpose. In ML systems, high cohesion can be achieved by grouping related functionality, such as feature extraction and model training, into separate modules that work together toward a common

    参考来源

    - 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第08章《重构与技术债》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch08.html) - 结论依据:摘录中关于低耦合与高内聚分别检查的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:cohesion. Cohesion refers to the degree to which the elements within a module or component are related to each other. High cohesion means that the elements within a module work together toward a common goal or purpose. In ML systems, high cohesion can be achieved by grouping related functionality, such as feature extraction and model training, into separate modules that work together toward a common