Hacker News new | ask | show | jobs
by IDisposableHero 5547 days ago
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>