Keeping a Public Interface Focused
A small interface makes it easier for callers to understand provided guarantees and for implementations to change behind them.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a lookup result
A consumer of catalogue entries may need identifiers, titles, and public links. Exposing every stored property creates more ways for callers to rely on implementation details. See data minimization.
Give extensions a deliberate home
If another consumer needs more metadata, add an explicit field or separate endpoint with its own contract. Function interface design states that promise.[1]