....funny.... just a few days ago, a new language was discussed here, seeRe: Thoughts on "Go"? ; where one of the benefits of doing your type of array operation was discussed
...you might want to check out the map function too, see Auto-filling an array for example