parker's stuff

The Go Blog: Arrays, slices (and strings): the mechanics of 'append' →

Go (#golang) is unique in that it offers both arrays and something quite similar, called slices. Programmers coming from any higher-level OO languages which only have one kind of arbitrary list of items (usually called an Array, go figure) often get tripped up on the difference between slices and arrays in Go.