Restrict Exports
Kind: technique
Layer: Structural Core
Record: lexicon:restrict-exports
Canonical: Lexicon
A technique for narrowing a module's public surface to the operations its consumers need.
Listed in Lexicon terms, after Encapsulate State and before Introduce Parameter Object.
Category
Refactors
- Boundary Leakage
- Inappropriate Intimacy
- Zombie Code
- Explicit Boundaries
- Encapsulation
- Information Hiding
- Attack Surface Reduction
- Risk Management
- Transaction Boundary