Naming And Comments

Names and comments are the primary channel through which code communicates intent to the next engineer. Use when choosing an identifier ("what should I call this", "rename this", "is this name clear"), deciding whether to add a comment ("should I comment this", "does this need explaining"), or auditing existing prose ("clean up the comments", "too many comments", "comment slop"). Also fires when a name is hard to pick — that difficulty is a design smell, not a vocabulary problem (Ousterhout: Hard to Pick Name).

manutej 77f2c7c 6.7 KB Updated

File contents

manutej/craft/tree/main/skills/naming-and-comments commit 77f2c7c6f8

Frequently asked questions

npx skillmds@latest add manutej/naming-and-comments