Re:Go Should Sometimes Be a No-Go
by Hendrikto on Saturday December 14, 2024 @05:39AM
(#42416138)
You use it everyday, yet have not figured out that it has had generics for almost 3 years?
[ Parent
| on HN ]
Re:Go Should Sometimes Be a No-Go
by retrodaredevil on Saturday December 14, 2024 @06:52AM
(#42416467)
Its generics aren't as advanced as Java's or any other language with generics for that matter. Plus most things are now only adding support for generics, so there's a fragmented ecosystem of code before and after generics were introduced.
Re:Go Should Sometimes Be a No-Go
by erik_seaberg on Saturday December 14, 2024 @04:19PM
(#42419530)
This. It's so frustrating that sync.Map isn't generic and reusing the builtin map API is impossible.