ADR-0011: Source code carries no comments
Accepted
Status: accepted ยท 2026-10-24
Contextโ
The owner asked for comment-free code. Reasons belong in ADRs (ADR-0001) and in commit messages, where they are dated and reviewed; comments drift from the code they describe.
Decisionโ
- No comments in source code: no
//, no/** */, no explanatory notes in tests or config. - A comment is added only when the owner asks for that specific comment.
- Names, types and small functions carry the meaning instead.
Consequencesโ
- Generated files from Nx and other tools may carry their own comments; code we write does not.