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.
[ Parent
| on HN ]
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.