3 ms·
> This is necessary, because there's no way to define a generic interface that would have acceptable perf, due to boxing. Actually, that's going away with Java
by kuschku 10y ago
> This is necessary, because there's no way to define a generic interface that would have acceptable perf, due to boxing.
Actually, that's going away with Java 9 (or 10). Luckily.
- int_19h 10y agoThis is great to hear, but it also kinda reinforces the point - .NET generics were reified from the get go, back when they were introduced in 2005. Java got generics a few months earlier than .NET, if I remember correctly; but we're still waiting for them to fully catch up. By the time it does, people coming from C# will be asking about things like sequence comprehensions (well, they already do, since those have been around for 8 years) and pattern matching...