← 返回卡片

原书出处

Learning Domain-Driven Design

14 微服务

First Edition · 核验版本的摘录快照 · 导入于 2026-11-14T06:04:05.301Z

According to this model, effective modules are deep: a simple public interface encapsulates complex logic. Ineffective modules are shallow: a shallow module’s public interface encapsulates much less complexity than a deep module. Consider the method in the following listing: int AddTwoNumbers(int a, int b) { return a + b; } This is the extreme case

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch14.html

EPUB SHA-256:da8d47219d6910f6431498e98b9fadfbdadc1cb0e3004bae825392a2c6abc846