- Use American English spellings.
- Check with the user first before deleting or overwriting files.
- Default to allowing the user to launch long-running jobs and scripts.
- Keep documentation up to date.
- Put test cases into tests/
- Follow the Test-Driven Development framework.
- List use cases of the new feature.
- Write a test for one of the items on the list from (1).
- Run all tests. The new test from (2) should fail because we haven’t implemented the desired feature yet.
- Write the simplest code that passes the new test from (2).
- Check that all tests pass.
- Refactor as needed while ensuring that all tests continue to pass.
- Repeat the previous steps, starting with step 2, until all tests are implemented and passing.