Descriptionspec: clarify section on string types
Strings happen to be represented similarly to
byte slices internally, but they don't quite
behave like them: While strings can be indexed,
sliced, and have their len() taken like byte
slices, string elements are not addressable,
make() and cap() is not supported, range loops
operate differently, and they are immutable (and
thus behave like values rather then references).
Fixes issue 4018.
Patch Set 1 #Patch Set 2 : diff -r 0b67641b4d2f https://code.google.com/p/go #Patch Set 3 : diff -r 0b67641b4d2f https://code.google.com/p/go #
Total comments: 6
Patch Set 4 : diff -r 0b67641b4d2f https://code.google.com/p/go #Patch Set 5 : diff -r 8533ef0a112a https://code.google.com/p/go #MessagesTotal messages: 7
|