O'Reilly logo
  • Bob Cao thinks this is interesting:

Although Go provides unsigned numbers and arithmetic, we tend to use the signed int form even for quantities that can’t be negative, such as the length of an array, though uint might seem a more obvious choice. Indeed, the built-in len function returns a signed int, as in this loop which announces prize medals in reverse order:

From

Cover of The Go Programming Language

Note

clever design