December 22, 2014
Go, the systems programming language from google, doesn’t have generics. That means in order to collect over a list instead of doing this like in C#:
list.Select(i => i + 2); You “have” to do to this:
numbers := []int{1, 2, 3} newSlice := make([]int, 0, 3) for _, num := range numbers { newSlice = append(newSlice, num+2) } This causes no small amount of consternation in the Go community and even more in the Go sucks community.