On this page
school
Coding Standards
Follow .NET standard conventions.
Structure
- 2 spaces indentation
- Single blank line between methods
- UTF-8 encoding
- Standard header
- Standard method order
varfor temp or iterator values- Full classnames for domain classes
- Wrap lines at 80, up to 90 to fit
Comments
- Comment on intent and logic, not flow
- No abandoned TODOs
- Prose is fine
Naming
- Prefer full names over abbreviations
- camelCase
- Folder names should follow namespace
- Prefer
UtilityoverUtil
Projects
Every project needs a README.md with:
- Code of conduct
- Install instructions
- Test instructions
- Build instructions
- Secrets handling
- Environment setup
- Dependencies
- Bug reporting
- Releases
- PR process
Imported from shawn-notebook