Hacker News new | past | comments | ask | show | jobs | submit login

I just can't get over how dumb this is in Java:

  List<String> names = new List<String>();
Why not let people write just:

  List<String> names = new List();
Why did they even need to invent the diamond operator?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: