News for hackers. Stuff that matters.
Re:Java Generics Are Turing Complete by bskap on Thursday May 26, 2016 @11:11AM (#11778510)
The most common annoyance is along these lines:

interface List<T> { T[] toArray(T[] item); }

You need to pass in a T[] because arrays keep their types at runtime but the generics don't.

There are no comments on this comment yet.