← 返回刚才阅读的位置

知识卡片

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

关注点分离以变化责任组织

理解等级:中级

将预处理、训练和持久化等不同关注点分开,便于独立理解与检查。边界应由责任和变化原因决定,不是为了模块数量把每行拆文件;仍需清楚组合和错误传播。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Separation of concerns Separation of concerns is a design principle that states that different aspects of a system should be separated and handled by different modules. Instead of creating a large system, we could break it down into smaller, independent modules. This can help us separate data preprocessing, feature extraction, model training, and inference into different modules, making it easier to understand, test, and add

    参考来源

    - 位置:《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) - 结论依据:摘录中关于关注点分离以变化责任组织的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Separation of concerns Separation of concerns is a design principle that states that different aspects of a system should be separated and handled by different modules. Instead of creating a large system, we could break it down into smaller, independent modules. This can help us separate data preprocessing, feature extraction, model training, and inference into different modules, making it easier to understand, test, and add