Context enables homonyms in spoken languages and overloaded or polymorphic 
notation in mathematics. Types do the same in programming languages. The 
rationale for + over join() or cat() for string is equally applicable to 
slices. a ++ b wouldn't be an unreasonable replacement for append(a, b...) 
and append([]T, ...T) can stay as is but who needs it when you have []T ++ 
[]T{...T}


On Saturday, September 17, 2016 at 12:31:31 AM UTC+1, parais...@gmail.com 
wrote:
>
> Because Go creators have a strong opinion about what + means. I would 
> argue the languages that engage into these sort of things especially those 
> who allow operator overloading are antithetic to Go goals, but that's an 
> opinion., I didn't create Go, I don't agree with all its design choices but 
> understand why they were made. Go is only sophisticated in the way it 
> handles concurrency. 
>
> Le vendredi 16 septembre 2016 19:11:17 UTC+2, oyi...@gmail.com a écrit :
>>
>> I have not been able to find an explanation. Does anyone care to explain 
>> or point to relevant documentation?
>>
>

-- 
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.

Reply via email to