Principles of quality software, by Mark McIlroy 2021 1. Keep your subroutines short, from 1 to about 30 lines of code. 2. Choose meaningful variable names and don't use a single variable for two purposes. 3. Write a small amount of code and test it. Then write another small amount and test that. Don't attempt to write a large block of code and then test it. 4. Use a small subset of the language features. This will make the code easier to read, and avoid potential bugs in the compiler.