Expectations for generics in Go 1.18
Does anyone know the impetus for using [] in generics? I know Nim opted for the same syntax and I assume it has some parsing/tokenizing benefit like the switch to using “fn” a la Zig or Rust. However, the syntax seems needlessly ambiguous with array notation sharing the same operator. I know I’m not alone because I’ve seen others mirror my concerns on Nim forums [0].<p>[0] <a href="https://github.com/nim-lang/Nim/issues/3502" rel="nofollow">https://github.com/nim-lang/Nim/issues/3502</a>