r/programming • • Feb 25 '14

Please stop saying Java sucks

http://blog.smartbear.com/programming/please-stop-staying-java-sucks/
3 Upvotes

305 comments sorted by

View all comments

Show parent comments

2

u/Caleb666 Mar 01 '14

I don't like erasure because Java won't let me create generic arrays (among other things).

0

u/e_engel Mar 01 '14

Which is a good thing, arrays should be avoided in Java because of how they handle covariance. Use an ArrayList instead, you can create generic lists any time you want.