My Solution to the Go WordCount implementation exercise https://tour.golang.org/moretypes/23
Looping the Slice At this point I actually had the right syntax for the map, minus the incorrectly-remembered and -understood struct, and it was time to iterate over the slice. “All loops in Go are For loops!” jumped directly into the Fore (heh, sorry) of my brain and I shamed myself all over the IDE like so:
for i in words: <do stuff> Which, of course, completely blew up with .