On Tue, Jul 14, 2020 at 8:31 PM <faiface2...@gmail.com> wrote:
>
> One way to distinguish between type A[N] E and type A [N]E is to be more 
> space-sensitive and, for example, disallow whitespace between a type name and 
> the opening square bracket when it signifies type parameters.

I would be extremely reluctant to make the syntax depend on invisible
whitespace.  The syntax already depends on line breaks, but at least
line breaks are very visible.  Spacing within a line can be hard to
see and it would be quite easy to make mistakes.

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/CAOyqgcVSMhxJRU--262DY2UJQ%3DGpRSaM09Hn-0q-7dKdhGNeEA%40mail.gmail.com.

Reply via email to