6 Ex.3: “Good” function-oriented programming style