Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

19. Public API that survives code review

pub boundaries, stable shapes, and pub use—design package surfaces that do not embarrass you in six months.

Public API that survives code review

Treat modules as implementation details until you pub your way into a contract. Your future self—and anyone who did not attend the whiteboard session—will thank you when the refactor stays internal.

This chapter replaces the old flat 06. Public API Idioms page with subsections and sharper teeth.

SectionTopic
pub boundariesWhat is actually exported.
Stable vs internalLong-term support vs scratch code.
Naming and styleNames that scan in review.
Package public surfacepckg consumers and api.json.

20. /// comments that are not lies