Go is probably more verbose because it’s missing List comprehensions, for example.
It needs map, filter, reduce to reduce line count. Swift, while probably not as performant as Go, makes writing in a more Pythonic style.
[1,2,3,4,5,6,7,8,9].filter {$0 % 2 == 0}.map {$0 * 2}.reduce(0, +)
["550", "a", "6", "b", "42", "99", "100"].compactMap{Int($0)}.filter {$0 < 100}
https://github.com/melling/SwiftCookBook/blob/master/functio...