News for hackers. Stuff that matters.
Re:Go Should Sometimes Be a No-Go by zwnow on Saturday December 14, 2024 @05:39AM (#42416135)
Its actually a good question on who needs generics. It makes code unreadable and was never really useful in commercial products.
Re:Go Should Sometimes Be a No-Go by BreakfastB0b on Saturday December 14, 2024 @05:42AM (#42416148)
Try writing Go without generics. No typed maps, arrays, slices, channels or function types. Only `interface{}`. Go always had generics, you just weren’t allowed to write your own until recently.