Function arguments

Functions should have as few arguments as possible. At most they should have 3. Output arguments are harder to understand than input arguments - instead functions should generally just return your desired output

Don't repeat yourself!

These rules probably won't be followed when you initially write the function - its like a rough draft that will need revisions

bj 2019-09-22