In an attempt to control the wild varieties of coding conventions that have been observed in this project, the following conventions are set forth to prevent our beloved wallEYE from decomposing into an unmaintainable puddle. Please update this document to ensure its relevance and helpfulness.
wallEYE
is the correct capitalization
- Folder and file names follow snake_case (special files like
Dockerfile
andREADME.md
are exempt) - Save paths as constants or write functions to generate the appropriate path in
directory.py
- Follow PEP 8 conventions. Most notably:
- snake_case for variables and files
- TitleCase for classes
- SCREAMING_SNAKE_CASE for constants
- Idiomatic Python (not Java!)
- Above all, be consistant!
- Type hint when practical
- Send camelCase keys to front end web interface
- Documentation
- camelCase prevails here
- TitleCase for classes
- Use
props
in React hooks until someone desires to migrate to more modern React{like, this, format}
- General Java conventions as excercised in robot code
- Documentation