Quoting robert engels (2018-10-22 16:01:18)

> I am sure it has been discussed, but why the aversion to using < > in
> type declarations? I guess I just don’t understand using bracketing
> notations that are already used for something else.

This was mentioned in the draft design, but using `<` at the call site
means the parser would require infinite lookahead (see the draft design
for details). There is also an ambiguity objection raised in the draft
for using square brackets, but Alan Fox offered a solution, which I
used in my example.

I don't personally have anything against angle brackets in principle
though.

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