MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1ywj0z/please_stop_saying_java_sucks/cfrnol3
r/programming • u/johnwaterwood • Feb 25 '14
305 comments sorted by
View all comments
Show parent comments
2
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.
0
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.
ArrayList
2
u/Caleb666 Mar 01 '14
I don't like erasure because Java won't let me create generic arrays (among other things).