Re:Go Is the New Ruby
by schrodinger on Monday October 28, 2019 @09:39PM
(#21383574)
I’m a devout Go developer and I feel like this is accurate. It’s got some uglies (eg no generics, verbosity in general), but man, overall, it’s so pleasant to work with. Which is probably how great Java developers feel. Thanks for inspiring empathy!!!
[ Parent
| on HN ]
Re:Go Is the New Ruby
by paulddraper on Tuesday October 29, 2019 @03:58AM
(#21384982)
And Java also didn't start with generics either. They were bolted on later.
Which is why it uses type erasure for generics rather than reification like C#.
C# didn't either, it was introduced in C#/.NET 2.0. As I've understood it, Java chose type erasure to stay backwards compatible with older JDK versions, whereas .NET instead chose to break compatibility with 1.x and force dependents to target 2.0.