I would take it to mean
c := make(elementof(a), len(a)+len(b))
copy(c, a)
copy(c[len(a):], b)
which is subtly different from append(a, b...). And when you don't care
about the difference, it would be less efficient. For strings, on the other
hand, it can only mean one of the two (as strings are
On Fri, Sep 16, 2016 at 9:02 AM, wrote:
> I have not been able to find an explanation. Does anyone care to explain or
> point to relevant documentation?
Slices are not strings. I think that a + b has an intuitively clear
value when a and b are strings. I do not think it does