News for hackers. Stuff that matters.
Re:Generics enabled by default in Go tip by jolux on Saturday August 21, 2021 @01:33AM (#28254492)
It depends what you’re building. If you’re writing a library to do those things, they may well be first order. Certain extremely useful patterns like parser combinators rely on them. And of course, the current answer is just “do something else instead.” But I don’t really see why this has to be the answer. Surely the decision to leave them out is just as subjective as a decision to add them.

There are no comments on this comment yet.