A Philosophy of Software Design
Rate it:
Started reading May 22, 2019
18%
Flag icon
a shallow module is one whose interface is relatively complex in comparison to the functionality that it provides.
18%
Flag icon
Shallow classes are sometimes unavoidable, but they don’t provide help much in managing complexity.
19%
Flag icon
Red Flag: Shallow Module A shallow module is one whose interface is complicated relative to the functionality it provides. Shallow modules don’t help much in the battle against complexity, because the benefit they provide (not having to learn about how they work internally) is negated by the cost of learning and using their interfaces. Small modules tend to be shallow.