4 ms·
I don’t think it necessarily impacts the runtime (though it could). This could be my naïveté, but I don’t see why generics in Go couldn’t work analogously to t
by notduncansmith 8y ago
I don’t think it necessarily impacts the runtime (though it could).
This could be my naïveté, but I don’t see why generics in Go couldn’t work analogously to the way they do in TypeScript, just a way for the compiler to verify the correctness of code accessing an interface{}.