[go-nuts] Re: Go 1.9 Release Candidate 1 is released

2017-07-26 Thread johnroth1
Great!

Unfortunately, the "release notes" section points to the documentation; I 
can't find the actual release notes page.


>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: Why + and += operators for string but not slices?

2016-09-17 Thread johnroth1


On Friday, September 16, 2016 at 11:11:17 AM UTC-6, oyi...@gmail.com wrote:
>
> I have not been able to find an explanation. Does anyone care to explain 
> or point to relevant documentation?
>

One data point: I'd expect slice + slice to create a new object, that is, a 
new backing array. I'd also expect += to concatenate using the same backing 
array for the result object. That's the way Python does it, and I've got a 
bit of Python background.

That said, though, I'd wonder what would happen for a slice of some complex 
object. To take an extreme example, what would adding slices of maps or 
channels do?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.