Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/principles/coding_principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ They will not have the understanding and context you do at the time of writing i
### Code securely

> We incorporate good security practice in all our code

### We test our code
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these principles read like statements but some read like instructions - I feel we should try to get some consistency (although I don't have a good answer for this case!)


> We are always able to prove that our code works and functions correctly with a set of tests

- Acts as supporting documentation for the code
- Increases quality
- Provides confidence in the implementation
- Enables safe refactoring and code improvements
- Catches bugs early when they're cheaper to fix