Skill: Naming
"Names are the first documentation."
The Standard
- Specific > Generic:
Builder,CalculatoroverManager,Handler,Service. - Verb + Noun: Actions
CreateOrder, JobsSendWelcomeEmail, ListenersNotifyAdmins. - Boolean Prefix:
isValid,hasAccess,canEdit. - No Type Suffixes:
OrdernotOrderEntity,UsernotUserContract.
The Check
Ask yourself:
- Does the name explain what it does?
- Does the name explain why it exists?
- If you read the filename, do you know the contents?
Real-World Examples
See examples.md.