More on this book
Community
Kindle Notes & Highlights
a shallow module is one whose interface is relatively complex in comparison to the functionality that it provides.
Shallow classes are sometimes unavoidable, but they don’t provide help much in managing complexity.
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.