Perhaps many would think this is "too complicated" but I like the idea of 
supporting 2 syntaxes, one of which is the output of gofmt.

*func Print(type T)(s []T) * >> gofmt >> *func Print«T»(s []T)* 

This way nobody is required to type it right the first time, but everybody 
can read the code better (which is basically the job of gofmt, yes?)

I imagine that over time most go programmers would figure out a way to type 
« and », or it would get added into IDEs, etc.

On Tuesday, July 14, 2020 at 5:37:21 PM UTC-10 Ian Lance Taylor wrote:

> On Tue, Jul 14, 2020 at 7:45 PM Watson Ladd <watso...@gmail.com> wrote:
> >
> > Guillamets are worth consideration. They are common on European 
> keyboards and avoid all the syntax ambiguities.
>
>
> https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md#why-not-use
>
> 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/0d17d532-e8eb-4ccb-ae49-6398c095a11cn%40googlegroups.com.

Reply via email to