📝 Coding Standards
This directory contains language-specific coding standards and guidelines for the engineering team. Consistent coding standards help maintain code quality, readability, and collaboration across our codebase.
📚 Available Standards
-
JavaScript Guidelines for JavaScript/TypeScript development, including formatting, naming conventions, and best practices.
-
Python Python coding standards covering style, documentation, and common patterns.
🎯 General Principles
- Readability First
- Code is read more often than written
- Favor clarity over cleverness
-
Use meaningful names
-
Consistency
- Follow the style of existing code
- Be consistent within a file
-
Be consistent with the language's idioms
-
Documentation
- Document public APIs
- Include examples for complex logic
- Keep comments up-to-date
🛠 Tools
JavaScript/TypeScript
- Linter: ESLint
- Formatter: Prettier
- Type Checking: TypeScript
Python
- Linter: flake8
- Formatter: Black
- Import Sorter: isort
🔄 Code Review Guidelines
When reviewing code, check for: - Adherence to these standards - Consistent style with the codebase - Clear and helpful comments - Proper error handling - Test coverage
📝 Adding New Standards
To add or update coding standards: 1. Update the appropriate language file 2. Include examples of both good and bad patterns 3. Get approval from the engineering team 4. Update this README if needed
❓ Need Help?
- For JavaScript/TypeScript questions: #frontend-help
- For Python questions: #backend-help
- For general coding standards: #engineering-standards
Last Updated: June 2025