Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
UIZealot
on June 29, 2019
|
parent
|
context
|
favorite
| on:
Type inference has usability problems
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: