There were a number of other aspects raised in the draft design such as whether it should automatically be assumed that a generic map key was comparable and whether there should be a special syntax for the zero value of a type parameter.
I've added a short Appendix to the paper with my thoughts on these and would be interested to know what you guys think about them. Alan On Friday, October 19, 2018 at 6:48:36 PM UTC+1, alanfo wrote: > > My head has been spinning lately after reading the various generic > counter-proposals and suddenly the original draft design seems a lot more > attractive than it did :) > > In the light of all the feedback there's been, I've put together a > proposal which sticks closely to the original design and only changes what > most people consider needs to be changed in some way. Some recent ideas > which seemed plausible but which I felt had little chance of adoption have > been rejected. > > It's not too long so give it a read and see what you think. > > Here's the link: > > https://gist.github.com/alanfo/72f07362d687f625a958bde1808e0c87 > > Alan > -- 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.