News for hackers. Stuff that matters.
Re:Go generics may use square brackets [] not parenthesis () by mseepgood on Thursday July 16, 2020 @04:15AM (#23856903)
> such as `go generate`--which already allow you to implement a crappy version of generics

The design document for "go generate" listed many motivating use cases, and not one of them was generics. The raison d'être for "go generate" is not to simulate generics. Some people just saw the character sequence "gener..." and made it about generics.

There are no comments on this comment yet.