News for hackers. Stuff that matters.
Re:Go 1.18 by crtc on Tuesday March 15, 2022 @03:00PM (#30689549)
Finally! This will be the last day I see the words "Go" "lack of"/"no" and "generics" in one sentence.
Re:Go 1.18 by HideousKojima on Tuesday March 15, 2022 @06:13PM (#30692576)
I mean in Java vs. C# fights people still bring up that C# generics are reified while Java generics rely on casting and erase type information at runtime, so probably not.
Re:Go 1.18 by int_19h on Tuesday March 15, 2022 @10:26PM (#30694603)
Go dodged that bullet by reifying theirs!
Re:Go 1.18 by esprehn on Tuesday March 15, 2022 @09:41PM (#30694265)
That'll have to wait until the next release when the standard library gets updated... But soon!
Re:Go 1.18 by uluyol on Tuesday March 15, 2022 @03:30PM (#30690187)
I'm sure you'll see plenty of comments saying "Go generics lack support for X". Just ignore them — some people seem to have nothing better to do.