Re:Backward Compatibility, Go 1.21, and Go 2
by valenterry on Monday August 14, 2023 @03:48PM
(#37125915)
Interesting!
Personally I'm not a big fan of either Java nor excessive backwards compatibility. But I can't avoid noticing that a lot of people praise Go for things like the backwards compatible while despising Java at the same time, even though both languages are extremely similar in lots of regards.
Re:Backward Compatibility, Go 1.21, and Go 2
by geodel on Tuesday August 15, 2023 @11:27AM
(#37135160)
It is not clear that people despise Java or they despise backward compatibility of Java. Because I haven't see anyone despising Java's backward compatibility.
Re:Backward Compatibility, Go 1.21, and Go 2
by valenterry on Tuesday August 15, 2023 @02:27PM
(#37137490)
> Because I haven't see anyone despising Java's backward compatibility.
I'm happy to have beers, just so that you get the chance to see someone like that. :-)
They did a while back, actually. Compare https://pkg.go.dev/[email protected]#Pointer with https://pkg.go.dev/unsafe#Pointer , in particular the modern very precise description of exactly what you can do with an *unsafe.Pointer. I'm not sure what the cutoff for that was but it was a while ago, yes. Still, it didn't do much.