5.3.2 Vectors versus functions