News for hackers. Stuff that matters.
Re:Go 1.18 by lenkite on Wednesday March 16, 2022 @05:46AM (#30696917)
Go already had generic structures anyways. Go maps supported generics. Or did you always use map[interface{}]interface{} everywhere for the purity of your anti-generics position ?
Re:Go 1.18 by alex_sf on Thursday March 17, 2022 @01:33AM (#30707995)
The built-in types that supported generics were limited to the essentials; slices, arrays, maps, etc. Those basic building blocks were obviously sufficient to allow Go to reach the level of success it has. It's not an argument to allow for unlimited generics.