Two ways of writing code