On Sat, Jun 20, 2020 at 10:33 AM <cnye...@gmail.com> wrote: > > The type parameters in the current proposal uses `(type xxx)` which is > visually hard to distinguish from function parameters. > > There are reasons stated in the proposal to not adopt <> (which is common in > other languages) which I'm not going to challenge. But have you considered > `(<T>)`? It should eliminate the infinite lookahead concern of using <>, > require minimal change to the existing implementation in go2go, and IMO > improves the readability of Go code w/ generics.
Let's see what real code looks like with the suggested syntax, before we worry about alternatives. Thanks. Ian -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWYC%2BV1_mdDLcPC%2Bo3H50_KQv5ChcOv2MGPGJdnvKebpQ%40mail.gmail.com.