News for hackers. Stuff that matters.
Re:How generics were added to .NET by paulddraper on Monday March 05, 2018 @10:36PM (#16526683)
Yeah. People complain about Java type erasure, but the problem is not that they have type ensure, it's that they did it only halfway.
Re:How generics were added to .NET by orclev on Tuesday March 06, 2018 @01:09AM (#16527204)
Yeah, I can see that. Basically you've got two options, go the Haskell way and have zero runtime reflection support and full type erasure, or go the C# way and have full reflection support and no type erasure. Java it's just painful because you get runtime reflection except it's incomplete because half the type info was erased at compile time.