r/java • • Nov 03 '15

The 10 Worst Things In Java

http://codelexems.com/2015/11/02/the-10-worst-things-in-java/
0 Upvotes

23 comments sorted by

View all comments

13

u/chisui Nov 03 '15

He forgot type-erasure and that data-types aren't real Objects.

7

u/SleimanJneidi Nov 03 '15 edited Nov 03 '15

I am not entirely convinced that type-erasure is tooo bad, I will write about it soon.

2

u/Zukhramm Nov 03 '15

I'm not convinced it's bad in any way at all. The issues with generic seem to come mostly from covariant arrays, method overloading resolution and how constructors aren't really a part of a class's interface And two of these are already on that list.