知识卡片

普通读书笔记卡 · 1841.h.1.a.1.a.3.f.1.a.2.a.1

共享模块有三种去向

理解等级:高级

迁移中的共同依赖可以按职责拆开、保留为共享库,或复制到各自边界。拆分需有真实内聚依据,共享保留版本协调,复制则承担重复维护与语义漂移。选择必须比较使用者变化是否一致,而不是把复用作为唯一成功指标。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Building Evolutionary Architectures Automated Software Governance, 2nd Edition》第07章《Building Evolvable Architectures》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Evolutionary Architectures Automated Software Governance, 2nd Edition/_epub-src/OEBPS/ch07.html;段落定位:Two options remain: first, developers can extract) - 结论依据:原文对“共享模块有三种去向”的定义或案例,支撑“迁移中的共同依赖可以按职责拆开、保留为共享库,或复制到各自边界”的归纳。据其上下文,拆分需有真实内聚依据,共享保留版本协调,复制则承担重复维护与语义漂移。 - 原始内容:Two options remain: first, developers can extract the module into a shared library (such as a JAR, DLL, gem, or some other component mechanism) and use it from both locations, as shown in Figure 7-7.