sum := float32(0)
Over Go's zero-value default initialization e.g. var sum float32
A nit stylistically but wondering if there was a good reason to do so? var x string
when initializing empty (zero-value) vars, versus: x := "hello"
when initializing variables that should hold an initial value.To me as a Go programmer at least, this is more obvious and intuitive as to the intent of the declaration.