22.3.2 Vectors versus functions