Index

Day 2 - Functions

Small

Do one thing

One level of abstraction per function

Reading code from top to bottom: the stepdown rule

Switch statement

Use descriptive names

Function arguments

Have no side effects

Command query separation

Prefer exceptions to returning error codes