Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn't Java have any kind of type inference for variables yet? C# allows you to say

  var foo = new Dictionary<string, int>();
and foo's type is infered as Dictionary<string, int>


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

Search: