Ten Commandments For Naming Your Code
Posted by jpluimers on 2020/06/23
Be clear, be consistent, don’t be clever, and follow these rules for naming your code.
[WayBack] Ten Commandments For Naming Your Code investigates these:
- Thou shalt be specific.
- Thou shalt not use unnecessary words.
- Thou shalt not use abbreviations.
- Thou shalt use the code’s primary human language.
- Thou shalt not make up words.
- Thou shalt not include type.
- Thou shalt only use non-obvious words if the meaning is obvious.
- Thou shalt prefer active voice.
- Thou shalt use consistent syntax.
- Thou shalt break these rules if necessary.
–jeroen
Leave a Reply