The Commandments
Coding
- Code LESS: every line creates a work-chain
- Read the documentation, use existing code if possible. Don’t re-create what already exists
- If there isn’t a spec/definition, write a short one (with constraints, goals, non-goals) and agree it
- If it isn’t specified as a requirement, don’t code it. If the agreed spec is wrong, challenge it
- Understand why code style is important, and comply with existing style
- Get someone to review your code. Learn from the reviews, don’t take it personally
- Use version control, ideally Git. Commit early and often, with descriptive comments, and push your commits!
- Quality code WORKS! All the time
- The bug stops here! You are responsible for testing and fixing every line of code you write
- Remove uncertainty as fast as possible. Prototype, learn and iterate
- Set yourself doable targets every day and every week. If you’re not making daily progress, shout