Re:Anders Hejlsberg – What brought about the birth of the CL...
by MichaelGG on Sunday May 03, 2015 @09:29PM
(#9483862)
Where you there when generics got brought in? What was that like from MS's side?
[ Parent
| on HN ]
Re:Anders Hejlsberg – What brought about the birth of the CL...
by shawnb576 on Monday May 04, 2015 @06:25PM
(#9489659)
Yeah - this is where Anders shines. Generics were brought in primarily to avoid boxing/unboxing costs of value types, but really are incredibly powerful when used properly. And I'll say that generics in C#/.NET are done very well. Every time I use Java, I want to use generics until I remember Java's generics are confusing and almost useless.
I really miss having them when doing work in other languages, even with some of the covariance gotchas, they're just amazingly good.
Re:Anders Hejlsberg – What brought about the birth of the CL...
by MichaelGG on Monday May 04, 2015 @08:25PM
(#9490170)
I thought the CLR team had no plan/way to ship genetics in the CLR, and C# would have had to gone with erasure, like Java. That the first C# with generics came from across the Atlantic. Isn't that so?