On Friday, July 1, 2016 at 4:01:54 PM UTC+2, Chad wrote: > > > > On Friday, July 1, 2016 at 3:44:10 PM UTC+2, Martin Geisler wrote: >> >> On Fri, Jul 1, 2016 at 12:52 PM, Chad <send...@gmail.com> wrote: >> > However, that it's a valid point you raise (re strings) >> > But that's exactly the reason for which, someone would probably ask >> whether >> > a string is a reference type or a value type. >> > >> > This could probably made clearer in the documentation. >> >> I keep seeing references (hah!) to this concept of a "reference type" >> :-) However, I just tried searching the language spec and Effective Go >> and there doesn't seem to be such a concept defined in those >> documents. > > > I think it should. It is mentioned here however > https://blog.golang.org/go-maps-in-action > > Without that, one of the first instinct of beginning programmers is often > to create pointers to slices ** *or maps *** > (And I should know, I did that :)
> >> -- 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.