知识卡片
过度复用会抹平模块边界
模块间过量共享代码或互相调用,会使原本清晰的领域边界逐渐失效。判断信号包括改一处意外破坏别的模块、团队互相阻塞、启动变慢和变更耗时。跨模块通信并非一律禁止;若某条工作流必须协作,可以保留必要调用,但依赖持续增多时应重审领域划分。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- The Modular Monolith Architecture Style · 查看原书依据
too much code reuse blurs the module boundaries, leading the architecture into the risky territory of the unstructured monolith
参考来源
- 位置:《Fundamentals of Software Architecture》原书第11章《The Modular Monolith Architecture Style》(阅读计划第14项;源文件:`OEBPS/ch11.html`)
- 结论依据:原文分别列出体量过大、代码复用与模块通信失控的风险及预警信号。
- 原始内容:too much code reuse blurs the module boundaries, leading the architecture into the risky territory of the unstructured monolith