4 ms·
I think they meant “type information is not available at parse time” (rather than “compile time”). There is a longer and more precise description of the proble
by typical182 5y ago
I think they meant “type information is not available at parse time” (rather than “compile time”).
There is a longer and more precise description of the problem as part of this FAQ of the generics proposal:
https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md#why-not-use-the-syntax-like-c_and-java https://go.googlesource.com/proposal/+/refs/heads/master/des...
…which includes an example and the statement “It is a key design decision of Go that parsing be possible without type information”.