2 ms·
On Generics: I did not know they performed that slight-of-hand, internally. That does make them rather weak. On Java-bloat: to be fair, it's really not that mu
by sukuriant 16y ago
On Generics: I did not know they performed that slight-of-hand, internally. That does make them rather weak.
On Java-bloat: to be fair, it's really not that much, especially if it's already a known interface:
new TreeSet<Foo>(new Comparator<Foo>() {
public void compare(Foo a, Foo b) { mycode(); }
});
However, your point stands. I've just come to accept that as being a part of Java, myself.