Use in Go
In Go, len
can be used to obtain the length of a string, array, or slice, the number of keys in a map, or the number of elements queued in a channel.
Read more about this topic: Len (programming)
Famous quotes containing the word use:
“... it is use, and use alone, which leads one of us, tolerably trained to recognize any criterion of grace or any sense of the fitness of things, to tolerate ... the styles of dress to which we are more or less conforming every day of our lives. Fifty years hence they will seem to us as uncultivated as the nose-rings of the Hottentot seem today.”
—Elizabeth Stuart Phelps (18441911)