Re:I was wrong, reflecting on the .NET design choices
by tigershark on Friday April 21, 2017 @08:05PM
(#14170397)
Type erasure is one of the ugliest things in java, on par with the Linq implementation using streams.
It's not a pain only if you never write generic code and you are happy with having a lot of duplication.
C# implementation is superior by far, and you can easily return newly created objects from a generic method or use an object properly without the need to pass the type of the object as a method parameter in addition of specifying the generic type.
[ Parent
| on HN ]
There are no comments on this comment yet.